Function anjay_get_server_ssid_by_msisdn

Function Documentation

int anjay_get_server_ssid_by_msisdn(anjay_t *anjay, const char *server_msisdn, anjay_ssid_t *out_ssid)

Gets the Server SSID of Server Object associated with given MSISDN.

Parameters:
  • anjay – Anjay object whose data model shall be queried

  • server_msisdn – Server MSISDN

  • out_ssid – SSID of Server with the given MSISN set

Returns:

0 for success, or a negative value in case of error, including if no suitable LwM2M Server could be found.