Noman Abdulkhudhur
Forum Replies Created
-
AuthorPosts
-
Noman Abdulkhudhur
BlockedThanks Jason, for your quick response.
Noman Abdulkhudhur
BlockedHi Jeff,
I’m trying to ping 8.8.8.8 to check the internet connection..
Thanks
Noman Abdulkhudhur
BlockedHi Jeff,
Thanks for your reply,
Yes, I can ping both the Gateway and my machine from the Conduit, and below is the output of the “ifconfig -a” :eth0 Link encap:Ethernet HWaddr 00:08:00:4A:1C:D9 inet addr:192.168.200.12 Bcast:192.168.200.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:20713 errors:0 dropped:0 overruns:0 frame:0 TX packets:239 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2311686 (2.2 MiB) TX bytes:26512 (25.8 KiB) Interrupt:23 Base address:0xc000 gre0 Link encap:UNSPEC HWaddr 00-00-00-00-31-00-00-00-00-00-00-00-00-00-00-00 NOARP MTU:1476 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) gretap0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 BROADCAST MULTICAST MTU:1462 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ip_vti0 Link encap:UNSPEC HWaddr 00-00-00-00-31-00-00-00-00-00-00-00-00-00-00-00 NOARP MTU:1364 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1%3069995728/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:11 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1232 (1.2 KiB) TX bytes:1232 (1.2 KiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) tunl0 Link encap:UNSPEC HWaddr 00-00-00-00-31-00-00-00-00-00-00-00-00-00-00-00 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wwan0 Link encap:Ethernet HWaddr 32:69:96:9E:3B:67 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Noman Abdulkhudhur
BlockedAny ideas guys??
Thanks
Noman Abdulkhudhur
BlockedDear Jason,
I have read that in order to call a non-static function it have to call it through an object. so i did the following (also changed mDot from private to public):
mDot aa,
aa.getStats();however, i didnt get any statistics about the communication after the communication is done.
so, does getStats(), automatically print the statistics variouble (Up, Down, Joins, JoinFails, MissedAcks) or do i have to print them after the function is called?
I’m sorry for keep asking about this issue but its really important for me to get such statistics about the packet transmission.
Please help..Regards,
NomanNoman Abdulkhudhur
BlockedDear Jason,
I looked at the above example in AT Firmware source code, and to be honest it wasn’t clear on how do I call the getStats() function
I tried:
mDot::getStats();
but it shows the following erorr:
“a nonstatic member reference must be relative to a specific object”
and I read that it is because getStats() is not a static function.
I would really appreciate if you could help me on how to call this function in my main program..Regards,
NomanNoman Abdulkhudhur
BlockedHi Guys,
I’ve been told that in order to get statistics about the packet transmission,
getStats() in the mDot.h header is what I want, so I did call it in my main.cpp file after the transmission if done, but I did not get any statistics.
it might be the way I’m calling it, so could you please tell me where and how to proparly call this function?Really appreciate your help.
NomanNoman Abdulkhudhur
BlockedDear Mike,
I wonder if there is a guide or any sort of documentation on how to read the log messages when using the micro SDK developer kit, because that the issue I’m facing right now.
Really appreciate your support..
Noman
Noman Abdulkhudhur
BlockedSorry the application is below:
mDot_Workshop
Noman Abdulkhudhur
BlockedNoman Abdulkhudhur
BlockedThanks Mike,
It’s good to know that it is possible, However, in my program, I replaced
dot->setLogLevel(mts::MTSLog::INFO_LEVEL);
With
dot->setLogLevel(mts::MTSLog::TRACE_LEVEL);
and in PuTTY, I selected the XR21V1410 USB UART port instead of STMicroelectronics STLink Virtual COM Port
but still not able to read any log messages..
Could you please advise what have I missed or done wrong?Thanks again
NomanNoman Abdulkhudhur
BlockedHi Jason,
I’m using a micro SDK developer kit to connect the mDot.
I used to use mDot_USB_AT_firmware to be able to log in to the mDot and use AT commands to do some tests.
Now that I uploaded my own program to the mDot its overrid the mDot_USB_AT_firmware and I’m no longer able to log in to the mDot.
also because of that I’m unable of reading my program’s outputs.
Could you please help me in solving this issue?Or is it possible to create a log file with the program outputs or a specific output and then save it on the mDot or somewhere accessible?
Realy appreciate your support..
Noman
Noman Abdulkhudhur
BlockedThanks Jason
I dont know how to read the outputs of my program because I’m using a micro SDK board to connect the mDot? -
AuthorPosts