I'd like to get peer address after the connection between nRF52 and other 6lowpan device is established. This address will be then used to create a TCP connection with some server running there.
After reviewing SDK for IoT source code, I found that this address will be kept in m_blenetif_table
array located in file nrf_platform_port.c.
I should be able to access the blenetif
structure by state
member in netif
structure in lwIP. The problem is that blenetif
structure is defined in source file and therefore not publicly accessible for SDK for IoT users.
Are there any plans for SDK for IoT to make this address publicly available?
Are there other ways to access this address?