1 /*
2  * Copyright (c) 2022 FTP Technologies
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #ifndef __LWM2M_UCIFI_LPWAN__
7 #define __LWM2M_UCIFI_LPWAN__
8 
9 #define LWM2M_UCIFI_LPWAN_ID 3412
10 /* Mandatory resource: ID 6 - IEEE MAC address of the device (up to 64 bits) */
11 #define MAC_ADDRESS_SIZE 17 /* 16 hex digits, eg. "01a2b3c4d5e6f708\0" */
12 
13 /* Device resource IDs */
14 /* clang-format off */
15 #define UCIFI_LPWAN_NETWORK_TYPE_RID           1
16 #define UCIFI_LPWAN_IPV4_ADDRESS_RID           2
17 #define UCIFI_LPWAN_IPV6_ADDRESS_RID           3
18 #define UCIFI_LPWAN_NETWORK_ADDRESS_RID        4
19 #define UCIFI_LPWAN_SECONDARY_ADDRESS_RID      5
20 #define UCIFI_LPWAN_MAC_ADDRESS_RID            6
21 #define UCIFI_LPWAN_PEER_ADDRESS_RID           7
22 #define UCIFI_LPWAN_MULTICAST_GRP_ADDRESS_RID  8
23 #define UCIFI_LPWAN_MULTICAST_GRP_KEY_RID      9
24 #define UCIFI_LPWAN_DATA_RATE_RID              10
25 #define UCIFI_LPWAN_TRANSMIT_POWER_RID         11
26 #define UCIFI_LPWAN_FREQUENCY_RID              12
27 #define UCIFI_LPWAN_SESSION_TIME_RID           13
28 #define UCIFI_LPWAN_SESSION_DURATION_RID       14
29 #define UCIFI_LPWAN_MESH_NODE_RID              15
30 #define UCIFI_LPWAN_MAX_REPEAT_TIME_RID        16
31 #define UCIFI_LPWAN_NUMBER_REPEATS_RID         17
32 #define UCIFI_LPWAN_SIGNAL_NOISE_RATIO_RID     18
33 #define UCIFI_LPWAN_COMM_FAILURE_RID           19
34 #define UCIFI_LPWAN_RSSI_RID                   20
35 #define UCIFI_LPWAN_IMSI_RID                   21
36 #define UCIFI_LPWAN_IMEI_RID                   22
37 #define UCIFI_LPWAN_COMM_OPERATOR_RID          23
38 #define UCIFI_LPWAN_IC_CARD_IDENTIFIER_RID     24
39 /* clang-format on */
40 
41 #define UCIFI_LPWAN_MAX_RID UCIFI_LPWAN_IC_CARD_IDENTIFIER_RID
42 
43 #endif /* __LWM2M_UCIFI_LPWAN__ */
44