Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIMCOM support is non existent, Lilygo here is near 0, still... #286

Open
tronar opened this issue Oct 30, 2024 · 28 comments
Open

SIMCOM support is non existent, Lilygo here is near 0, still... #286

tronar opened this issue Oct 30, 2024 · 28 comments

Comments

@tronar
Copy link

tronar commented Oct 30, 2024

Does anybody know if there is some way of getting remote RSSI indication ?
I.e. the local RSSI reflects the DL conditions, but how can I get an idea of UL conditions ?

TIA

@lewisxhe
Copy link
Contributor

remote RSSI indication? What do you mean?

@tronar
Copy link
Author

tronar commented Oct 31, 2024

Radio link is between UE and eNB.
The "local" RSSI from the UE point of view (the SIM7000) is the Received Signal Strength Indicator that relates to the DL (downwards link).
The "remote" RSSI would be the signal strength as seen from the eNB, i.e, related to the UL (uplink).
From a protocol point of view, the eNB is in charge of the control of the link, and the UE reports signal conditions so the eNB can adjust. But it also has a way of telling the UE to tx at higher or lower power level. Do we have any way of seeing such information ?

@lewisxhe
Copy link
Contributor

lewisxhe commented Nov 1, 2024

The module can only obtain the RSSI value of the downlink, use AT+CPSI to query

@tronar
Copy link
Author

tronar commented Nov 1, 2024

Too bad. Local RSSI is shown in more than one place. AT+CENG also shows Tx power but it is only valid when transmitting and I have not been able to latch it. Tx power is commanded by eNB and should follow remote conditions.
On the other hand, the info is for sure in the module so SIMCOM might have some undocumented mode to access it. SIMCOM documents are way below average, and as teh subject says, its support is to be found.

@tronar
Copy link
Author

tronar commented Dec 25, 2024

Could you please ask SIMCOM for a way to read the TX power measure ?

@lewisxhe
Copy link
Contributor

It can be tested through cmw500. No commands are required during signaling test, and it can be sent through the instrument.

@tronar
Copy link
Author

tronar commented Dec 26, 2024

I'm not sure I understand what you mean by this... I'm not trying to measure this in a test environment, I want to have a means to know the current TX power that should be the consequence of the tower (eNB) commanding it.

@tronar
Copy link
Author

tronar commented Dec 26, 2024

Can you please ask SIMCOM of a procedure to be able to read tx power with AT+CENG ?
From the manual:
Tx power value in 1/10 dBm. is only meaningful
when the device is in traffic. When there is no traffic, the value
is invalid.The value of is 255.
but I have been unable to read actual TX power, I always get 255.

@lewisxhe
Copy link
Contributor

The following is the test command replied by SIMCOM, you can test it
fe4c334b124a6a75d09469849cb8213

lewisxhe added a commit that referenced this issue Dec 30, 2024
@lewisxhe
Copy link
Contributor

Added CTBURST_Application_Note

@tronar
Copy link
Author

tronar commented Dec 30, 2024

Lewisxhe,
That command family seems not for this product. I tried no matter what:

ATI
SIM7000G R1529

OK
AT^BODYSARON=1
ERROR

Also, I read the CTBURST application note, and it is intended for testing, assuming it works for the SIM7000 family which does not seem to be the case:

at+CFUN=5
OK
AT+CTBURST=?
ERROR
AT+CTBURST=0
ERROR

Just in case, please take a minute to understand my need. I need to read during working conditions the current TX power level of the modem. According to the LTE norm, this level is determined by the base station (eNB) depending on the uplink conditions, thus is a fair estimator of the uplink conditions. I have some areas where the node is failing to connect and in field testing this information would be most valuable.

Thank you!

@lewisxhe
Copy link
Contributor

Your requirement is to read the current transmit power level of the modem at runtime. SIMCOM replied that there is no such function. Sorry.

@tronar
Copy link
Author

tronar commented Dec 31, 2024

Ok, thank you. It seems whoever replies just wants to reply something, given what I already
stated about the AT+CENG command.
From the SIM7000 AT manual:

Engineering Mode is designed to allow a field engineer to view and test the
network information received by a handset, when the handset is either in
idle mode or dedicated mode (that is: with a call active). In each mode, the
engineer is able to view network interaction for the "serving cell" (the cell the
handset is currently registered with) or for the neighboring cells.

If camping on a CAT-M or NB-IOT cell:
+CENG: <mode>,<Ncell>,<cell num>,<System Mode>
+CENG:
<cell>,<earfcn>,<pci>,<rsrp>,<rssi>,<rsrq>,<sinr>,<tac>,<cellid>,<mc
c>,<mnc>,<tx power>

<tx power> Tx power value in 1/10 dBm. <tx power> is only meaningful
when the device is in traffic. When there is no traffic, the value
is invalid.The value of is 255.

@lewisxhe
Copy link
Contributor

lewisxhe commented Jan 2, 2025

OK, I understand what you are asking for.

I misunderstood..

So your real problem is that the TX power field returned by AT+CENG is always 255, right?

Send AT+SIMCOMATI to check your current software version, and what is the pn field on the modem?

@tronar
Copy link
Author

tronar commented Jan 2, 2025

Right, my problem is that I have not been able to "read" or "latch" the tx power value.

AT+SIMCOMATI
Revision:1529B08SIM7000G
CSUB:V01
APRev:1529B08SIM7000,V01
QCN:MDM9206_TX3.0.SIM7000G_P1.03_20220415
IMEI:869951036762023

OK
P/N: S2-107Y8-Z30PL

@lewisxhe
Copy link
Contributor

lewisxhe commented Jan 3, 2025

SIMCOM requires you to provide the debugging log

How to connect USB and USB driver can be viewed here

The video of capturing log operation is here. The video demonstrates SIM7080 and the operation method is the same as SIM7000
SIM7080GCaptureLog

Capture log

DiagGrabPro_V1.9.7z

After the connection log is captured, you can send AT+CENG to operate, and the log will capture your current network status, etc.

@tronar
Copy link
Author

tronar commented Jan 3, 2025

Lewis,
the log of my doing what ? I'm asking how to do something and they ask what is going on ?
What do they want me to do, to have the logs of ?
I fail to understand what's the value of a log given that I don't have a problem with a specific scenario.
They Should be able to see whatever in their own lab.

Still, I'm open to do whatever, just tell me what.

@lewisxhe
Copy link
Contributor

lewisxhe commented Jan 3, 2025

They require that we capture the modem operation log and send it to simcom for analysis.

@tronar
Copy link
Author

tronar commented Jan 3, 2025

Lewis, this happens to a new modem in my bench, I'm trying to find out how to measure field status by programming the read of tx power, so I'm working with a test unit. Are you a technical person ? If so, you would understand that to analyse something there has to be something to be analysed first. I know what a log is, I have no problem in getting a log, but the device should be trying to do something during the log capturre for the log to have any value.
So what I'm asking is what should the device be doing during the log capture ?

Also , this is not the problem of one device AFAIK, I have more than one here. If they think that AT+CENG should send meaningfull data, it might make more sense to test something with another device ? In any case, please ask them to provide a script for the test they want.

@lewisxhe
Copy link
Contributor

lewisxhe commented Jan 3, 2025

Use your SIM card, register the network, send AT+CENG query, the modem will record these things, you can query several times, of course, according to the AT manual, TX POWER will only be displayed when there is data traffic, you also need to find a way to keep the modem connected to a server, SIMCOM can analyze whether the base station you are using supports this function. Remember to start capturing from the time the module is turned on, this is the reply they gave.

@tronar
Copy link
Author

tronar commented Jan 3, 2025

The base station supports this function ? This is nonsense. You are telling me to send a log of anything. I will, but it would be much more efficient if this had any value... they are just keeping us busy.

@tronar
Copy link
Author

tronar commented Jan 4, 2025

Here you are ... qmdl inside .zip
20250104142709864.zip

@lewisxhe
Copy link
Contributor

lewisxhe commented Jan 6, 2025

Can you re-capture the log? The log does not include the network registration process.

@lewisxhe
Copy link
Contributor

lewisxhe commented Jan 7, 2025

SIMCOM reply: It can only be queried within a short period of time when the modem TX is in action, otherwise it will immediately change to 255. Also, from your log, since there is no network access information, it is impossible to know whether you are using NB or CAT-M.
890f67b4dfd41007e5316a98da837d0

@tronar
Copy link
Author

tronar commented Jan 7, 2025

I don't understand what CAT-M or NB-IOT has to do with this.
And I don't know how can I do it faster than doing it in the same line:

AT+SNPING4="8.8.8.8",3,16,100;+CENG?
+SNPING4: 1,8.8.8.8,60000
+SNPING4: 2,8.8.8.8,46
+SNPING4: 3,8.8.8.8,67

+CENG: 1,1,1,LTE CAT-M1

+CENG: 0,"9360,336,-76,-47,-14,10,15103,128281604,722,34,255"

OK

On the other hand, they are using an old TEST version of firmware ? I'm using B08:
Revision:1529B08SIM7000G

Can you please ask them to suggest a short script that demonstrates the working reading ? What have they done prior to that +CENG command ?
Thank you.

@lewisxhe
Copy link
Contributor

lewisxhe commented Jan 8, 2025

I think I understand the reason for the problem.
Simcom replied that their test method is as follows:
Use the SIM7000G USB port to dial PPP,
Then query on the AT port

If the data and query are both on the AT port, then the data has been sent by the time the query is made, and the power is 255.

@tronar
Copy link
Author

tronar commented Jan 8, 2025

Then on a system like the LiyGO-T-SIM7000G, the feature is useless because all interaction with the modem is through the AT port.
It would be nice for a firmware update to change that behaviour, and latch the last power level but ...
Thanks.

@tronar tronar closed this as completed Jan 8, 2025
@tronar
Copy link
Author

tronar commented Jan 22, 2025

FTR, today I enabled NB-IOT on the modem and here... +CENG does return the TX power:
AT+CENG?
+CENG: 1,1,1,LTE NB-IOT

+CENG: 0,"9312,336,-62,-61,-3,20,35103,128281804,722,34,-130"

So it seems to be a firmware bug of sorts. Yes, it works for SIMCOM because they tested in NB, not in CAT-M

@tronar tronar reopened this Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants