I am transmitting a buffer of 300 bytes over DECT NR+ connection. The transmitting device is an nrf9151dk running the DECT NR+ modem FW 1.0.1. The receiving device is an nrf9161DK with the same modem FW.
Both are running the DECT NR+ PHY Hello sample program, with slight modifications. Below is a summary of the modifications.
The transmitting device is transmitting a buffer as below:
uint8_t buffer[2048];
for (int i = 0; i < sizeof(buffer); i++)
{
buffer[i] = 'A' + i;
}
int err = transmit(0, buffer, 300);
if (err)
{
LOG_ERR("Transmission failed, err %d", err);
return err;
}
LOG_INF("Transmission successful");
/* Physical Data Channel reception notification. */
static void pdc(const uint64_t *time,
const struct nrf_modem_dect_phy_rx_pdc_status *status,
const void *data, uint32_t len)
{
/* Received RSSI value is in fixed precision format Q14.1 */
LOG_INF("Received data (RSSI: %d.%d): %s - Len:%u", (status->rssi_2 / 2),
(status->rssi_2 & 0b1) * 5, (char *)data, len);
}
