nRF Connect SDK API 0.1.0
|
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.
buf | Pointer to the target buffer. |
buf_size | Size of target buffer. |
0 | if the operation was successful. |
-EINVAL | if a parameter was invalid. Otherwise, a (negative) error code is returned. |