@@ -146,7 +146,7 @@ typedef struct sn_nsdl_static_resource_parameters_ {
146
146
uint16_t resourcelen ; /**< 0 if dynamic resource, resource information in static resource */
147
147
bool external_memory_block :1 ; /**< 0 means block messages are handled inside this library,
148
148
otherwise block messages are passed to application */
149
- uint8_t mode :2 ; /**< STATIC etc.. */
149
+ unsigned mode :2 ; /**< STATIC etc.. */
150
150
bool free_on_delete :1 ; /**< 1 if struct is dynamic allocted --> to be freed */
151
151
} sn_nsdl_static_resource_parameters_s ;
152
152
@@ -165,10 +165,10 @@ typedef struct sn_nsdl_resource_parameters_ {
165
165
#endif
166
166
ns_list_link_t link ;
167
167
uint16_t coap_content_type ; /**< CoAP content type */
168
- uint8_t access :4 ; /**< Allowed operation mode, GET, PUT, etc,
168
+ unsigned access :4 ; /**< Allowed operation mode, GET, PUT, etc,
169
169
TODO! This should be in static struct but current
170
170
mbed-client implementation requires this to be changed at runtime */
171
- uint8_t registered :2 ; /**< Is resource registered or not */
171
+ unsigned registered :2 ; /**< Is resource registered or not */
172
172
bool publish_uri :1 ; /**< 1 if resource to be published to server */
173
173
bool free_on_delete :1 ; /**< 1 if struct is dynamic allocted --> to be freed */
174
174
bool observable :1 ; /**< Is resource observable or not */
0 commit comments