2017-03-05 14:45:06 +00:00
|
|
|
#ifndef __NAS_CONV_H__
|
|
|
|
#define __NAS_CONV_H__
|
|
|
|
|
2018-01-04 11:38:22 +00:00
|
|
|
#include "nas/nas_message.h"
|
2017-03-05 14:45:06 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2017-04-09 15:27:19 +00:00
|
|
|
CORE_DECLARE(void) nas_imsi_to_buffer(
|
|
|
|
nas_mobile_identity_imsi_t *imsi, c_uint8_t imsi_len,
|
2017-03-05 14:45:06 +00:00
|
|
|
c_uint8_t *buf, c_uint8_t *buf_len);
|
|
|
|
|
2017-04-09 15:27:19 +00:00
|
|
|
CORE_DECLARE(void) nas_imsi_to_bcd(
|
2017-04-10 02:29:46 +00:00
|
|
|
nas_mobile_identity_imsi_t *imsi, c_uint8_t imsi_len, c_int8_t *bcd);
|
2017-04-09 15:27:19 +00:00
|
|
|
|
2017-03-05 14:45:06 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif /* __NAS_CONV_H__ */
|
|
|
|
|