Data Fields
gdx_lcp_config_t Struct Reference
BLE » Light Communication Protocol (LCP) » Structures

LCP Parameter. More...

`#include <lcp_sdk.h>`

## Data Fields
uint8_t | mode
int8_t | txpwr_dbm
uint8_t | ch_idx
uint32_t | freq
uint32_t | access_address
uint32_t | crc_init
rx_handler_cb_t | rx_handler_cb

## Detailed Description

LCP Parameter.

## Field Documentation

## ◆ access_address

uint32_t gdx_lcp_config_t::access_address

The value of the access address.

## ◆ ch_idx

uint8_t gdx_lcp_config_t::ch_idx

The value of the channel index(range: 0-39).

## ◆ crc_init

uint32_t gdx_lcp_config_t::crc_init

The initial value of the crc.

## ◆ freq

uint32_t gdx_lcp_config_t::freq

The value of the frequency(range: 2360-2520), uint: MHz.

## ◆ mode

uint8_t gdx_lcp_config_t::mode

Set protocol mode, see PROTOCOL_MODE.

## ◆ rx_handler_cb

rx_handler_cb_t gdx_lcp_config_t::rx_handler_cb

The callback function of rx.

## ◆ txpwr_dbm

int8_t gdx_lcp_config_t::txpwr_dbm

The value of the tx power(range: -20-7), uint: dBm.

The documentation for this struct was generated from the following files:

- lcp_sdk.h
- gr55xx_lcp.h