diff options
-rw-r--r-- | include/ndef.h | 7 | ||||
-rw-r--r-- | src/ndef.c | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/include/ndef.h b/include/ndef.h index d35dcfe..061877b 100644 --- a/include/ndef.h +++ b/include/ndef.h @@ -39,6 +39,13 @@ struct near_ndef_message { #define NEAR_CARRIER_WIFI 0x02 /* bit 1 */ #define NEAR_CARRIER_UNKNOWN 0x80 /* Bit 7 */ +enum carrier_power_state { + CPS_INACTIVE = 0x00, + CPS_ACTIVE = 0x01, + CPS_ACTIVATING = 0x02, + CPS_UNKNOWN = 0x03, +}; + int near_ndef_count_records(uint8_t *ndef_in, size_t ndef_in_length, uint8_t record_type); @@ -147,13 +147,6 @@ struct near_ndef_mime_payload { } handover; }; -enum carrier_power_state { - CPS_INACTIVE = 0x00, - CPS_ACTIVE = 0x01, - CPS_ACTIVATING = 0x02, - CPS_UNKNOWN = 0x03, -}; - /* Handover record definitions */ /* alternative record (AC) */ |