get/set interfaces for kw2xrf driver More...
get/set interfaces for kw2xrf driver
Definition in file kw2xrf_getset.h.
Include dependency graph for kw2xrf_getset.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| void | kw2xrf_set_tx_power (kw2xrf_t *dev, int16_t txpower) |
| Set tx power of given device. More... | |
| uint16_t | kw2xrf_get_txpower (kw2xrf_t *dev) |
| Get tx power value of given device. More... | |
| int | kw2xrf_set_channel (kw2xrf_t *dev, uint8_t val) |
| Set channel of given device. More... | |
| uint8_t | kw2xrf_get_channel (kw2xrf_t *dev) |
| Get channel of given device. More... | |
| void | kw2xrf_abort_sequence (kw2xrf_t *dev) |
| Abort current sequence of device. More... | |
| void | kw2xrf_set_idle_sequence (kw2xrf_t *dev) |
| Set idle sequence state of device. More... | |
| void | kw2xrf_set_sequence (kw2xrf_t *dev, kw2xrf_physeq_t seq) |
| Set sequence state of device. More... | |
| void | kw2xrf_set_pan (kw2xrf_t *dev, uint16_t pan) |
| Set PAN ID of a given device. More... | |
| void | kw2xrf_set_addr_short (kw2xrf_t *dev, uint16_t addr) |
| Set short address of a given device. More... | |
| void | kw2xrf_set_addr_long (kw2xrf_t *dev, uint64_t addr) |
| Set long address of a given device. More... | |
| uint16_t | kw2xrf_get_addr_short (kw2xrf_t *dev) |
| Get short address of a given device. More... | |
| uint64_t | kw2xrf_get_addr_long (kw2xrf_t *dev) |
| Get long address of a given device. More... | |
| int8_t | kw2xrf_get_cca_threshold (kw2xrf_t *dev) |
| Get CCA threshold of a given device. More... | |
| void | kw2xrf_set_cca_threshold (kw2xrf_t *dev, int8_t value) |
| Set CCA threshold of a given device. More... | |
| void | kw2xrf_set_cca_mode (kw2xrf_t *dev, uint8_t mode) |
| Set CCA mode of a given device. More... | |
| uint8_t | kw2xrf_get_cca_mode (kw2xrf_t *dev) |
| Get CCA mode of a given device. More... | |
| int16_t | kw2xrf_get_rssi (uint32_t value) |
| Get RSSI from LQI value. More... | |
| netopt_state_t | kw2xrf_get_status (kw2xrf_t *dev) |
| Get state of a given device. More... | |
| int | kw2xrf_cca (kw2xrf_t *dev) |
| Enable continuous CCA. More... | |
| void | kw2xrf_set_rx_watermark (kw2xrf_t *dev, uint8_t value) |
| Set receive watermark. More... | |
| void | kw2xrf_set_option (kw2xrf_t *dev, uint16_t option, bool state) |
| Set netopt a given device. More... | |
| void kw2xrf_abort_sequence | ( | kw2xrf_t * | dev | ) |
Abort current sequence of device.
| [in] | dev | kw2xrf device descriptor |
| int kw2xrf_cca | ( | kw2xrf_t * | dev | ) |
Enable continuous CCA.
| [in] | dev | kw2xrf device descriptor |
| uint64_t kw2xrf_get_addr_long | ( | kw2xrf_t * | dev | ) |
Get long address of a given device.
| [in] | dev | kw2xrf device descriptor |
| uint16_t kw2xrf_get_addr_short | ( | kw2xrf_t * | dev | ) |
Get short address of a given device.
| [in] | dev | kw2xrf device descriptor |
| uint8_t kw2xrf_get_cca_mode | ( | kw2xrf_t * | dev | ) |
Get CCA mode of a given device.
| [in] | dev | kw2xrf device descriptor |
| int8_t kw2xrf_get_cca_threshold | ( | kw2xrf_t * | dev | ) |
Get CCA threshold of a given device.
| [in] | dev | kw2xrf device descriptor |
| uint8_t kw2xrf_get_channel | ( | kw2xrf_t * | dev | ) |
Get channel of given device.
| [in] | dev | kw2xrf device descriptor |
| int16_t kw2xrf_get_rssi | ( | uint32_t | value | ) |
Get RSSI from LQI value.
| [in] | value | Current LQI value |
| netopt_state_t kw2xrf_get_status | ( | kw2xrf_t * | dev | ) |
Get state of a given device.
| [in] | dev | kw2xrf device descriptor |
| uint16_t kw2xrf_get_txpower | ( | kw2xrf_t * | dev | ) |
Get tx power value of given device.
| [in] | dev | kw2xrf device descriptor |
| void kw2xrf_set_addr_long | ( | kw2xrf_t * | dev, |
| uint64_t | addr | ||
| ) |
Set long address of a given device.
| [in] | dev | kw2xrf device descriptor |
| [in] | addr | long address |
| void kw2xrf_set_addr_short | ( | kw2xrf_t * | dev, |
| uint16_t | addr | ||
| ) |
Set short address of a given device.
| [in] | dev | kw2xrf device descriptor |
| [in] | addr | short address |
| void kw2xrf_set_cca_mode | ( | kw2xrf_t * | dev, |
| uint8_t | mode | ||
| ) |
Set CCA mode of a given device.
| [in] | dev | kw2xrf device descriptor |
| [in] | mode | CCA mode |
| void kw2xrf_set_cca_threshold | ( | kw2xrf_t * | dev, |
| int8_t | value | ||
| ) |
Set CCA threshold of a given device.
| [in] | dev | kw2xrf device descriptor |
| [in] | value | CCA threshold |
| int kw2xrf_set_channel | ( | kw2xrf_t * | dev, |
| uint8_t | val | ||
| ) |
Set channel of given device.
| [in] | dev | kw2xrf device descriptor |
| [in] | val | channel |
| void kw2xrf_set_idle_sequence | ( | kw2xrf_t * | dev | ) |
Set idle sequence state of device.
| [in] | dev | kw2xrf device descriptor |
| void kw2xrf_set_option | ( | kw2xrf_t * | dev, |
| uint16_t | option, | ||
| bool | state | ||
| ) |
Set netopt a given device.
| [in] | dev | kw2xrf device descriptor |
| [in] | option | Netopt option type |
| [in] | state | state |
| void kw2xrf_set_pan | ( | kw2xrf_t * | dev, |
| uint16_t | pan | ||
| ) |
Set PAN ID of a given device.
| [in] | dev | kw2xrf device descriptor |
| [in] | pan | PAN ID value |
| void kw2xrf_set_rx_watermark | ( | kw2xrf_t * | dev, |
| uint8_t | value | ||
| ) |
Set receive watermark.
| [in] | dev | kw2xrf device descriptor |
| [in] | value | watermark |
| void kw2xrf_set_sequence | ( | kw2xrf_t * | dev, |
| kw2xrf_physeq_t | seq | ||
| ) |
Set sequence state of device.
| [in] | dev | kw2xrf device descriptor |
| [in] | seq | sequence |
| void kw2xrf_set_tx_power | ( | kw2xrf_t * | dev, |
| int16_t | txpower | ||
| ) |
Set tx power of given device.
| [in] | dev | kw2xrf device descriptor |
| [in] | txpower | transmit power in dBm |