Skip to content

Commit ec60f1d

Browse files
authored
To show the built date/time and default PLMN
This is helpful on debugging.
1 parent 4223762 commit ec60f1d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

main.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,11 @@ nsapi_error_t test_send_recv()
207207
int main()
208208
{
209209
print_function("\n\nmbed-os-example-cellular\n");
210+
print_function("\n\nBuilt: %s, %s\n", __DATE__, __TIME__);
211+
#ifdef MBED_CONF_NSAPI_DEFAULT_CELLULAR_PLMN
212+
print_function("\n\n[MAIN], plmn: %s\n", MBED_CONF_NSAPI_DEFAULT_CELLULAR_PLMN);
213+
#endif
214+
210215
print_function("Establishing connection\n");
211216
#if MBED_CONF_MBED_TRACE_ENABLE
212217
trace_open();

0 commit comments

Comments
 (0)