I’m trying to set the MangOH Green with “AT!MAPUART=1,1”. However, when I run the command to check if it worked the result is “AT!MAPUART: 17,16”, looking at the developers datasheet this is not even possible, can someone give me a hint if the command is working and what I’m doing wrong?
Usage:
• Execution: AT!MAPUART=<service>[,<uart>]
Response: OK
Purpose: Map the specfiied <service> to the specified <uart> (if no <uart> is
specified, UART1 is used).
• Query: AT!MAPUART?
Response: !MAPUART: <service (UART1)>, <service (UART2)>
OK
Purpose: Report the current mappings for both UARTs
(edit: And by “looks good” I mean it matches the spec :). The asymmetry of the get/set parameters on this one trips me up too.)
Oh, gotcha, thanks a lot!! Yes, it was written but it’s a bit tricky. Another thing about this command that I didn’t get, I saw that I can change both MUX by hardware (using the dipswitch) or by software (using MAPUART). So, how does this works?
Sorry, I don’t follow the MUX/dipswitch comment. Can you point me to the document you’re referring to? I don’t think there are any hardware mechanisms to override the MAPUART configuration, but maybe there is some conflicting documentation.
Thanks for the clarifying it. The MUX hardware settings allow setting to the Arduino too, right? So, If I’m right and I want a connection of Arduino to the Linux as a bridge connecting to CF3 module I need dipswitch 6 set to OFF and AT!MAPUART set to 17,1, right?
I’ve been trying it, but I’m struggling to find some of the files, like the “Airvantage.zip”. I’ll contact @Mirac to check if he can help me solve some of my problems
AT!MAPUART= 17 ,1 to set UART0 (HS0) to Customer Linux Application.
AT!MAPUART= 16 ,2 to set UART1 (HSL1) to Linux Console.
AT!MAPUART?
Result is:
AT!MAPUART: 17,16
The output shows the status of the two serial ports, HS0 followed by HSL1
17 = ttyHS0 linux application,
16 = ttyHSL1 linux console.
Service to map to UART:
0: UART disabled
1: AT Command service
2: Diagnostic Message service
3: Reserved
4: NMEA service
5-15: Reserved
16: Linux Console
17: Customer Linux application
Thanks for your answer. I´ve seen this tutorial before, but it seems like it´s made for WP8548, while my MangOH contains the WP7702 and a small part of the tutorial uses files specific to WP8548, is it safe to work with those files? Do I need to download similar files but for WP7702? If yes, where should I find them?
Furthemore, by the image it seems like you use an Arduino extension of AirVantage, where should I find the files to install this extension?
Thank you @AndrewMawdsley, I got it. My question now is how to connect the modem with the Arduino. Asyal and Mirac pointed to really good docs. However, there are still a few gaps in my mind on how to connect them.
If you’re talking about compiling mangOH platform, you don’t have to download new files, just use “make green_wp77xx” instrad of “make wp85” specified in the document (note that do not replace “wp77xx” with the actual module number i.e. “wp7702” etc. )