• sscanf problem
    i am reciving the gps packet for serial port and written code like as below. rxbuf[100]="081417.138,A,1728.6091,N,07833.8230,E,0.00,49.52,280306,,,A*5E"; main() { sscanf(&RxBuf[0],"%lf,%c,%lf,%c...
  • Problem using sscanf with \0
    hello, I'm creating a parser to parse through data from UART. I managed to get it working with VS code and gcc but had a hard time implementing it in my initial keil project. Here's my code: ...
  • sscanf function problem
    hello friend i am useing sscanf function in my program. the valid packet recived from the serial port using the intrupt . here i am getting the string in RxBuf using intr and main() { sscanf(&RxBuf...
  • The 'sscanf' mistake
    sscanf(buffer, "%d", &var1_1byte); in the above case, var1_1byte is uint8_t (ie 1 byte char variable). the "%d" in sscanf resulted to writing of multiple bytes (notice that '%d' is for 'int') which...
  • scanf & sscanf doesn't work
    Hi all! I have a big problem using the scanf, or sscanf function. As soon I do a call to this function in my programm, the programm does not start! Does anyone has any idea?? Is there any LIB missing...