Zephyr TLM Eddystone Beacon

Hi There,

New to the Forum and I have started to use the Zephyr RTOS in Visual Studio Code:

I am trying to get an Eddystone Beacon based off the nRF528323 and I am transmitting the URL Frame and the TLM frame.

I have the URL Eddystone Beacon working sending Data to the nRF Connect AP but somehow I can't seem to see the TLM Data and i just need to display the battery data. I have tried this plenty of different ways but i simply cannot see the TLM data. Any help would be great appreciated!, below is the code I am using and the prj.conf file as well as the overlay file

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <drivers/adc.h>
#include <hal/nrf_saadc.h>
#include <drivers/gpio.h>
#include <zephyr.h>
#include <nrf.h>
#include <logging/log.h>
#include <sys/byteorder.h>
#define ADC_RESOLUTION 10
#define ADC_GAIN ADC_GAIN_1_4
#define BATTERY_CHANNEL_ID 0
#define BATTERY_INPUT NRF_SAADC_INPUT_AIN0
#define LED_PORT DT_LABEL(DT_NODELABEL(gpio0)) // Assuming LEDs are connected to GPIO0
#define LED_PIN 15 // Pin number for the first LED
#define LED_PIN_2 18 // Pin number for the second LED
static uint16_t adc_sample_buffer;
static const struct device *led_dev;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Below is my prj.conf file:

# General Bluetooth options
CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_BROADCASTER=y
CONFIG_BT_DEVICE_NAME_MAX=30
CONFIG_BT_DEVICE_NAME="GAVO"
CONFIG_ADC=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_LOG=y
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_BT_RX_STACK_SIZE=2048
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
CONFIG_BT_SETTINGS=y
CONFIG_BT_GATT_DYNAMIC_DB=y
CONFIG_BT_GATT_SERVICE_CHANGED=y

# Security Manager Protocol (SMP) for Bluetooth
CONFIG_BT_SMP=y  # Ensure this is set if BT_L2CAP_DYNAMIC_CHANNEL is used

# Logging options
CONFIG_LOG=y

# Bluetooth stack sizes
CONFIG_BT_RX_STACK_SIZE=2048
CONFIG_BT_HCI_TX_STACK_SIZE_WITH_PROMPT=y

and my overlay file is also below:

&uart0 {
    current-speed = <115200>;
    status = "okay";
    tx-pin = <6>;
    rx-pin = <8>;
};