Hi,
I'm having trouble transmitting packets with GTS enabled using Nordic's IEEE 802.15.4 MAC library. I don't have an isolated sample app I can post yet so I'll just describe the call flow for now.
I'm setting the follow PIBs:
PHY_CURRENT_CHANNEL_ID
MAC_SHORT_ADDRESS
MAC_EXTENDED_ADDRESS
MAC_PAN_ID
MAC_RX_ON_WHEN_IDLE - enabled
MAC_ASSOCIATION_PERMIT - enabled
MAC_GTS_PERMIT - enabled
The PAN coordinator starts broadcasting beacons:
static mlme_start_req_t start_req =
{
.pan_id = CONFIG_PAN_ID,
.logical_channel = CONFIG_TEST_CHANNEL,
.start_time = 0,
.beacon_order = 2,
.superframe_order = 1,
.pan_coordinator = true,
.battery_life_extension = false,
.coord_realignment = false,
#if (CONFIG_SECURE == 1)
.coord_realign_security_level = false,
.beacon_security_level = false,
#endif
};
mlme_start_req(&start_req, mlme_start_conf);Device 2 performs a beacon scan and successfully associates with the PAN. The same device then requests a Tx only GTS successfully. At this point attempting to transmit with GTS enabled returns MAC_INVALID_GTS. I also tried polling the coordinator for data using mlme_poll_req(). The coordinator receives the request and I transmit a packet back, but device 2 doesn't received the data.
Is there anything wrong with this sequence of events?
Can Nordic provide any sample code using beacons and GTS?
Nordic SDK version: 15.2.0
Sample code based off 802.15.4 Uart example
Thanks