nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ modem_info_get_hw_version()

int modem_info_get_hw_version ( char *  buf,
uint8_t  buf_size 
)

#include <include/modem/modem_info.h>

Obtain the hardware version string.

The hardware version is represented as a string, for example: nRF9160 SICA B0A

See the documentation for the AT command HWVERSION.

Parameters
bufPointer to the target buffer.
buf_sizeSize of target buffer.
Return values
0if the operation was successful.
-EINVALif a parameter was invalid. Otherwise, a (negative) error code is returned.