I have a problem with this library as I have an AT response in char array & I can't parse the data to the list as mentioned in the documentation.
Thanks in advance
I have a problem with this library as I have an AT response in char array & I can't parse the data to the list as mentioned in the documentation.
Thanks in advance
Hi,
can't parse the data to the list as mentioned in the documentation.
What list? What part of the documentation are you looking at? Please explain more.
HI,
I am trying to use the AT_CMD_PARSER library, in it's documentation -->https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/modem/at_cmd_parser.html#api-documentation
it's mentioned that I need to initialize a list from the at_params library to get the parameters from the AT commands and assign them to this list. ->https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/modem/at_params.html#c.at_params_list_init
Thanks a lot.
AndrewAWG said:it's mentioned that I need to initialize a list from the at_params library to get the parameters from the AT commands and assign them to this list. -
Did you try that? Are you getting any error-codes?
I tried it, but the main purpose for which I'm using this library is to parse every bit of data that comes to me through the buffer. When I'm using the list, it doesn't give any errors, but it only parses the command I sent to the list; it doesn't parse any responses from the modem.
I think you need to call at_parser_params_from_str() with the response you get.