Quantcast
Channel: MultiTech Developer Resources » All Posts
Browsing all 7111 articles
Browse latest View live

Enabling/Disabling the UART module via code?

I was wondering if there is a way to totally enable/disable the debug UART. Basically in production scenario, to shut off any debug printf statements flowing the USBTX and USBRX. I am aware of the...

View Article


Reply To: Enabling/Disabling the UART module via code?

Ajay, There’s no way to disable the creation of the uart object in the Dot library. I don’t see why you couldn’t override that declaration if you’re sure you aren’t going to use the uart. You can...

View Article


Reply To: Enabling/Disabling the UART module via code?

Ajay, Is this xDot on a custom board? If it’s on the DK, the USBTX/RX pins are also connected to a UART on the interface processor. I’d have to ask our HW guys if that would be an issue. If it’s on a...

View Article

Reply To: I want to know the difference of mDot-915 Series.

Please contact sales@multitech.com for pricing and ordering details.

View Article

Reply To: got Error: getaddrinfo ENOTFOUND from http request node

Are you using ethernet or a cellular connection for WAN? Are you specifying a DNS server in the configuration for your WAN in the web interface or are you relying on DHCP?

View Article


Reply To: got Error: getaddrinfo ENOTFOUND from http request node

WAN connexion by ethernet (eth0) mode DHCP client. Dns server’s IP comes from DHCP server, and seems to be correct : admin@mtcdt:~# cat /etc/resolv.conf domain home nameserver 10.10.10.1 10.10.10.1 is...

View Article

Reply To: Custom App Icon

View Article

Reply To: Measuring Conduit's supply voltage.

Any thoughts on this multitech team?

View Article


Reply To: Enabling/Disabling the UART module via code?

Hi Mike, Thanks for the clarifications regarding the logging level. No this is an mDot on a custom board. My only question can I treat the USBTX and USBRX as a GPIO pins? In which case I can toggle it...

View Article


Non Blocking Send & Ack/Receive timeout.

The Uplink is achieved via non-blocking send call and I have ack enabled for the transmits. With the acks’ enabled, would I be able to transmit another packet in succession or the mdot api would...

View Article

Reply To: Enabling/Disabling the UART module via code?

Ajay, I think it would work fine. It would be good to make sure that no printf is called when the pins are configured as GPIO. Cheers, Mike

View Article

Reply To: Non Blocking Send & Ack/Receive timeout.

Ajay, Trying to send another packet while the mac layer is still sending or opening RX windows for the previous packet will fail. You should get an error about the radio being busy or something...

View Article

Reply To: Enabling/Disabling the UART module via code?

Thanks Mike for getting back on this topic. I have changed all my logging to use the MDot logging API, so I can control the amount of information that will be logged during development and...

View Article


Reply To: Non Blocking Send & Ack/Receive timeout.

Thanks Mike for taking the time to respond. I do derive from the mDotEvent class to handle the receive packets. However I was wondering if should set out a timeout (a finite time to wait) in my main...

View Article

Reply To: Non Blocking Send & Ack/Receive timeout.

Ajay, Events should fire even if the TX or RX fails. However, if you want to set a global timeout, you should just set it to accomodate the transmission time + the 2 RX windows that will potentially...

View Article


Reply To: Non Blocking Send & Ack/Receive timeout.

Thanks Mike, the LORA network is being used in private mode. So worst case 5 seconds per uplink is what you think I should wait for an inbound packet and ack, before I timeout on the main thread?...

View Article

Reply To: Non Blocking Send & Ack/Receive timeout.

Ajay, I am not saying a 5s timeout is a worst case number that will cover every possible scenario. It depends on a lot of settings. If you have ACK retries enabled, that will obviously affect how long...

View Article


Reply To: Measuring Conduit's supply voltage.

Hi Ajay, There is nothing built into the Conduit that will allow you to determine the current draw through software. Here are some power draw numbers from our side....

View Article

Reply To: Non Blocking Send & Ack/Receive timeout.

Thanks Mike for your response. I guess during testing we can figure out this better as what the optimal timeout could potentially be. However we are hoping we reduce the wake time to a more...

View Article

Reply To: Measuring Conduit's supply voltage.

Thanks Leon, for taking the time to respond. We have a requirement, that when an external connected power supply be it a battery or any other source that would power the conduit, is it if it hits some...

View Article
Browsing all 7111 articles
Browse latest View live