diff options
author | Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com> | 2013-02-08 14:01:49 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-02-11 09:29:26 +0100 |
commit | d6d3b7dcd47291322804f838974953363f2a9a11 (patch) | |
tree | d337d0eed03927cb15c44594e517c0733dc5627f /include | |
parent | 9e926fbc38ae53388f628c65f72f0da14cd8f5c8 (diff) | |
download | neard-d6d3b7dcd47291322804f838974953363f2a9a11.tar.gz neard-d6d3b7dcd47291322804f838974953363f2a9a11.tar.bz2 neard-d6d3b7dcd47291322804f838974953363f2a9a11.zip |
agent: Add an extra parameter to the handover registration agent api
Current handover registration apis does not support for carrier
specific registration. Added an extra parameter (carrier type) to
RegisterHandoverAgent and UnregisterHandoverAgent. This is an initial
patch for wifi handover agent registration. WiFi NDEF message handling
will be supported soon.
Diffstat (limited to 'include')
-rw-r--r-- | include/ndef.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/ndef.h b/include/ndef.h index c4ca76f..cd1a678 100644 --- a/include/ndef.h +++ b/include/ndef.h @@ -33,19 +33,6 @@ struct near_ndef_message { uint8_t *data; }; -/* near_ndef_handover_carrier*/ -#define NEAR_CARRIER_EMPTY 0x00 -#define NEAR_CARRIER_BLUETOOTH 0x01 /* bit 0 */ -#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); |