AT%NCELLMEAS=x,y gives an error message when x > 2

Hello,

I am trying to issue the command like AT%NCELLMEAS=3,3 on my console when running asset_tracker_v2 and using Serial Terminal, which is a superb terminal for issuing AT commands. But the command produces an ugly log error message. I tracked down what is going on, and I hope you can fix this. So, in lte_lc.c, the handler is at_handler_ncellmeas(). But that handler needs  knowledge of ncellmeas_params.search_type to do the proper handling. And that handler only has the information if lte_lc_neighbor_cell_measurement() was called first.

This is very ugly and also confusing, suggesting to me that I have no clue what is going on. I absolutely need every help possible from AT commands to figure out whether we should be using a different PLMN at some weak signal locations we have in the field. I don't want to have my colleagues write a more complicated CLI than they already have--I want to take advantage of built in code and also AT commands. Can this be fixed? Thanks.

Regards,

Burt Silveman

  • I see from a 3 year old ticket that the problem was I was using AT commands directly for %NCELLMEAS rather than something like the Modem Shell sample, which is okay as long as %NCELLMEAS can return data immediately rather than returning data with an event.

    But %NCELLMEAS=4,15's equivalent in MODEM SHELL will still not show that one network (FirstNet) that +COPS=? shows. Why is that? Truthfully, I have never heard of FirstNet before, but cellmapper.net shows that they have plenty of towers.

    Burt

Related