Hi,
I'm working in the asset tracker v2 project and currently I need to do a simple hex to char array conversion. This entails using sscanf. However the use of sscanf consistently produces a fault (z_arm_exc_spurious) even with the simple code below.
Any assistance would be greatly appreciated.
void main(void)
{
struct app_msg_data msg;
uint32_t num1, num2;
char input[] = "1 2";
sscanf(input, "%d %d", &num1, &num2);