Ajay K
Forum Replies Created
-
AuthorPosts
-
February 22, 2021 at 1:02 pm in reply to: question regarding servertime method in mDotEvent Class #31637Ajay KParticipant
Thanks Jason for taking the time to respond. So bottom line I would need to override both the methods to support FOTA implementation, is that assumption correct?
Thanks,
AjayFebruary 22, 2021 at 11:20 am in reply to: question regarding servertime method in mDotEvent Class #31634Ajay KParticipantAny thoughts Multitech team?
Ajay KParticipantAwesome, Thanks a lot for the clarification!
Ajay KParticipantWhat version of the conduit firmware are you on? Also the is intention to install the custom app on an SD card or on the local file system?
Currently my custom app is on 5.2.1 conduit firmware version and I am not sure what else the install-to-conduit.sh is doing. In my case I generate the tar.gz file and save it in in /var/tmp folder. Also before I generate the tar.gz file I ensure Install and Start file have the execute permissions provided as well.
I then open up the command terminal and I use the following command below to install my custom app.
sudo app-manager --command local --appfile TestApp.tar.gz --appname "TestApp"
Thanks,
AjayAjay KParticipantThanks Leon for taking the time to respond and for the clarification. I have one other question, should the GPU continue to drive it high or should it be driven low once the reset is complete? I am wondering what state the GPU needs to be so it doesn’t keep resetting the mDot module.
Thanks,
AjayAjay KParticipantAny thoughts multitech team?
Ajay KParticipantHi Jeff,
Thanks for your response. Below are the model#’s on the conduits that are currently in use and the firmware version of the conduits is mostly 5.2.1 and some may be on 5.1.6.
Model Number MTCDT-LVW2-246A
Manufacturer Telit
Model LE910-SVG
Firmware Version 17.01.571Model Number MTCDT-L4N1-246A
Manufacturer Telit
Model LE910C4-NF
Firmware Version M0F.660006MTCDT-LAP3-246A
Manufacturer Telit
Model LE910C1-AP
Firmware Version 25.26.255Let me know if there is any other information I can provide to help you better in identifying the difference on calling a reset command as opposed to a complete conduit restart.
Thanks,
AjayJanuary 6, 2021 at 1:28 pm in reply to: Best way to determine if the Cellular connection is available? #31506Ajay KParticipantThanks so much Jeff for your response and the script. I was going to use the ping command that is available via the conduit api mentioned in the command table. However I see it takes a json object for the IP Address or URL, not sure what the actual json object this command expects. Can you point me to an example?
Meanwhile I will give the attached script a shot to see if it does work?
Thanks,
AjayAjay KParticipantWith 5.2.1 firmware I think you won’t be able to run the commands directly, I believe you will need to prepend your commands with “sudo“.
for example “sudo ifconfig”
Thanks,
AjayJanuary 6, 2021 at 12:31 am in reply to: Best way to determine if the Cellular connection is available? #31502Ajay KParticipantThanks Heath for taking the time to respond and for your valuable inputs. I will give that a shot and see how the ping command works?
Thanks,
AjayJanuary 5, 2021 at 4:28 pm in reply to: Best way to determine if the Cellular connection is available? #31495Ajay KParticipantThanks Jeff for taking the time to respond. Does the conduit API expose a ping call or is there a way to make a ping request using node js. Also the server we would be hitting does support an ICMP ping. The ICMP check the cellular management admin screen, does it use native linux calls to make the ping request? Also what is typical payload size of request and response for a ICMP ping request?
Thanks,
AjayAjay KParticipantJust wanted to some confirmation from Multitech team, does the article regarding best practices, sound accurate, is it something we need to handle in our custom firmware or does the mDot library manage this for us internally such as varying the data rates and frequency?
Thanks,
AjayDecember 22, 2020 at 4:11 pm in reply to: Using MBED Watchdog Timer API and managing the timer during sleep cycles. #31443Ajay KParticipantThanks Jason, I will try the API out and see what the max timeout is?
December 21, 2020 at 9:03 pm in reply to: Using MBED Watchdog Timer API and managing the timer during sleep cycles. #31430Ajay KParticipantThanks Jason for taking the time to respond. I was wondering if we set the watchdog timer to timeout at a larger timeout say several minutes or a longer interval, so that the mdot doesn’t get reset and during each wake cycle, the first thing we do is kick the watchdog? Is increasing the timeout of the watchdog timer to a larger interval, usually not the best practice?
Thanks,
AjayAjay KParticipantAny thoughts multitech team?
December 21, 2020 at 2:44 pm in reply to: Using MBED Watchdog Timer API and managing the timer during sleep cycles. #31423Ajay KParticipantAny thoughts multitech team?
December 15, 2020 at 6:58 pm in reply to: Weird Behavior regarding Cellular connection on conduit 5.2.1 version. #31408Ajay KParticipantAny thoughts on this issue?
Thanks,
AjayAjay KParticipantHi Balamurugan,
I have never successfully installed a custom app via the Conduit UI. I usually install winscp on my local machine or you could use putty. Then connect to the conduit and copy over the tar.gz fie you downloaded to the /var/tmp directory and install it by running the app-manager. for example:
sudo app-manager --command local --appfile express-hello-world-1.4.tar.gz --appname "express-hello-world"
Hope that helps? As far as the Conduit UI throwing the error, may be some one from Multitech can chime in. Meanwhile you could try via the command line to install the app.
Thanks,
AjayNovember 23, 2020 at 2:58 pm in reply to: Maximum Packet size for downlink packets in Class A mode. #31379Ajay KParticipantAwesome thanks for the clarification.
Thanks,
AjayNovember 23, 2020 at 1:41 pm in reply to: Maximum Packet size for downlink packets in Class A mode. #31377Ajay KParticipantThanks so much for taking the time to respond. Just was wondering what happens from a conduits perspective if we queue a payload size in the downlink queue greater than the maximum permissible payload size for a given data rate?
Thanks,
AjayAjay KParticipantThat’s awesome Jason! I was not aware that the new bootloader supported differential updates. I will play around with the differential updates and see if I have any further questions.
Have a great weekend!.
Thanks,
Ajay.November 20, 2020 at 8:02 pm in reply to: Post Build script to set the checksum on the resulting binary using mbed-cli. #31370Ajay KParticipantI agree thanks for your inputs Jason. I guess we can run it as a batch script, post compilation.
Thanks,
AjayNovember 20, 2020 at 11:18 am in reply to: Post Build script to set the checksum on the resulting binary using mbed-cli. #31365Ajay KParticipantAny thoughts how this can be achieved, as I am guessing this was done for mbed-cli prior to the 4.0 library?
Thanks,
AjayNovember 17, 2020 at 1:44 pm in reply to: FOTA: On AEP Firmware version 5.3.0 as opposed to 5.2.1 #31341Ajay KParticipantThanks Jason for taking the time to respond. We will stay with the 5.2.1 version for now given the improvements are on the mDot 4.0 which we are already using currently.
Thanks,
AjayNovember 17, 2020 at 11:58 am in reply to: FOTA: On AEP Firmware version 5.3.0 as opposed to 5.2.1 #31339Ajay KParticipantAny thoughts or suggestions, if it is a good idea to skip to version 5.3.0 instead of 5.2.1 from a FOTA perspective?
Thanks,
Ajay.November 10, 2020 at 3:57 pm in reply to: Reducing the size of overall custom firmware binary. #31328Ajay KParticipantThanks Jason for confirming. Also can mbed studio be used to build MDot custom firmware? I am guessing you need a license to compile using ARMC6 with mbed cli?
Thanks,
AjayOctober 26, 2020 at 3:11 pm in reply to: FOTA Transfer and Custom board with MDot & Other SOC's. #31258Ajay KParticipantAny thoughts on my query?
Thanks,
AjayOctober 23, 2020 at 2:16 pm in reply to: FOTA Transfer and Custom board with MDot & Other SOC's. #31255Ajay KParticipantThanks Jason for pointing me out to the relevant github page. I will go thru’ the documents specified on that page. However I was looking at the mdot examples especially around the fota example. Especially around the code base below in the RadioEvent.h.
`virtual void PacketRx(uint8_t port, uint8_t *payload, uint16_t size, int16_t rssi, int16_t snr, lora::DownlinkControl ctrl, uint8_t slot, uint8_t retries, uint32_t address, bool dupRx) {
mDotEvent::PacketRx(port, payload, size, rssi, snr, ctrl, slot, retries, address, dupRx);#if ACTIVE_EXAMPLE == FOTA_EXAMPLE
if(port == 200 || port == 201 || port == 202) {
Fota::getInstance()->processCmd(payload, port, size);
}
#endif
}`I was wondering if we know the firmware being transmitted to the end device is intended for the other Module on our custom board and not the mDot, Can we ignore calling the FOTA:: processCmd, instead use the inbound payload to construct the firmware for the other module on our custom board and eventually flash the new firmware?
Does the Fota::processCmd do any housekeeping items on the mDot and/or report to the Conduit regarding the status of the multicast or fragmentation session or regarding the payload it just received? If so how easy or hard would it to mimic what the fota instance does under the hood to complete the firmware transfer successfully? Is it possible to override the fota class to achieve the same?
Thanks,
AjayOctober 23, 2020 at 12:25 pm in reply to: FOTA Transfer and Custom board with MDot & Other SOC's. #31253Ajay KParticipantAny thoughts on my query?
Thanks,
AjayOctober 15, 2020 at 3:55 pm in reply to: Not sure what the issue here is with the time function or some log issue? #31241Ajay KParticipantI did try printing them separately and the same result as described earlier. However is the length of the variable name a factor here? I have practically written a sentence for my variable name :).
Thanks,
Ajay -
AuthorPosts