This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

LTE sensor gateway(lte_ble_gateway) application for nRF9160 could not connect to the LTE network

Hi Team,

We are using nRF9160 -DK (0.8.3), As per the document we followed the procedure from here. Loaded the respective application to the on board controller(nRF52840) and main controller(nRF9160).

when we run the application its showing could not connect LTE network.  When we tried with other application its connecting to LTE network, But with this application(lte_ble_gateway) its not connecting to the LTE network. Please look into the log file provided below

lte_ble_gateway.txt

I would also like to know that.

  • When does this application starts scanning the BLE devices. After connecting to LTE network or not?
  • Can we scan the BLE devices without connecting to the LTE network ? If yes how to do that
  • How to test the communication between board controller(nRF52840) and main controller(nRF9160)

Please point me the answers for the respective questions.

Thanks,

venkatesh

Parents
  • Hi! Thank you for your patience on this issue. 

    It looks like the code is failing an assert here because there is no response to the HCI command within 10 seconds. But that's all we know for now. Since I'm not able to reproduce this issue on my end, it's a bit difficult to debug. Perhaps you could try the debugging feature in SES Nordic Edition and step through the code to see what's happening at start-up. 

    It looks like it initiates BLE before configuring the modem, so these two are probably independent. To avoid connecting to the LTE network, just revise the LTE BLE gateway sample, so it does not initiate. You could remove this part which is the function that connects to LTE, and remove the ASSERT right under.

    As for testing the communication between the nRF52840 and the nRF9160, they communicate over UART. So I suppose you could check the physical data lines between them. However, I think the easier way would just be to get the sample to work or to test another application with the nRF52840 as a board controller. 

    Best regards,

    Heidi

Reply
  • Hi! Thank you for your patience on this issue. 

    It looks like the code is failing an assert here because there is no response to the HCI command within 10 seconds. But that's all we know for now. Since I'm not able to reproduce this issue on my end, it's a bit difficult to debug. Perhaps you could try the debugging feature in SES Nordic Edition and step through the code to see what's happening at start-up. 

    It looks like it initiates BLE before configuring the modem, so these two are probably independent. To avoid connecting to the LTE network, just revise the LTE BLE gateway sample, so it does not initiate. You could remove this part which is the function that connects to LTE, and remove the ASSERT right under.

    As for testing the communication between the nRF52840 and the nRF9160, they communicate over UART. So I suppose you could check the physical data lines between them. However, I think the easier way would just be to get the sample to work or to test another application with the nRF52840 as a board controller. 

    Best regards,

    Heidi

Children
No Data
Related