From mychaela.falconia at gmail.com Thu May 6 07:25:36 2021 From: mychaela.falconia at gmail.com (Mychaela Falconia) Date: Wed, 5 May 2021 23:25:36 -0800 Subject: Sharing my mixed success story with Grcard SIMs Message-ID: Hello Osmocom community, I made some posts here earlier this year about my attempts to obtain some programmable SIM cards from Grcard (a well-known Chinese manufacturer of SIM and other smart cards) that are GSM SIM only, without USIM or ISIM applications - but I just realized that I never posted anything regarding the final outcome of those escapades. The present post is intended to summarize what I obtained and what I learned through that venture. The first point to be noted is that Grcard make many bazillion different card models, but frustratingly, they never let me see any kind of catalog of their different offerings. Instead what happened is that when I first approached them back in January and told them what I was looking for in very basic terms (I simply said that I wanted a GSM-only SIM card without any USIM or ISIM stuff), they offered me one of their card models based on those stated requirements, they first sent me a few sample pieces of this card model they selected for me, and then I ended up ordering 200 pieces of that same model with my own custom printing on the cards. The card model which Grcard offered to me back in January and of which I got 200 pcs a month ago in April turned out to be exactly the same in technical terms as the one that was once sold by Sysmocom as sysmoSIM-GR2: https://osmocom.org/projects/cellular-infrastructure/wiki/GrcardSIM2 As I understand it, Sysmocom had that sysmoSIM-GR2 as an offering back in late 2013, thus it was quite surprising to see that Grcard still readily sell that exact same model 7 and a half years later - but they do. As a result of having done a ton of work with these cards over the past few months, I now know a lot more about them than is said in the scant Osmocom wiki page above, and a lot more than the little bits of knowledge embedded in pySim code from 2013 supporting this model. Extensive write-ups about these cards can be found in my fc-sim-tools repository, but here is a basic summary of the good and the bad: The good: * These GrcardSIM2 aka FCSIM1 cards are truly native GSM 11.11 SIM, and do not speak the unwanted-innovation UICC protocol at all. * F=512 D=8 speed enhancement (the only SIM speed enhancement mode called for in the original GSM 11.11 spec and the only one implemented in most classic GSM MS hardware such as Calypso) is supported by these cards, thus if your GSM MS firmware has this speed enhancement enabled (at least with TI platform, many legacy fw versions have it disabled - don't know about other GSM chipset vendors), your phone will talk to the SIM at about 50781 bps, instead of the circa 8737 bps you get with the basic non-enhanced F=372 D=1 mode. * The security model on these cards works the way it is supposed to: they initially ship with a known default SUPER ADM key, but if you change both ADM5 and ADM11 (SUPER ADM) keys to your own secrets, then the card becomes fully secure in the traditional SIM security sense. I personally don't understand and will likely never understand what is so wrong with letting your paying service subscribers know their own Ki and letting them clone their SIM if they so wish, but if you wish to replicate the traditional security model where you program Ki and change ADM keys to some secret, you *can* do it with FCSIM1 cards. Standard PIN1/PIN2/PUK1/PUK2 can be freely reset if you authenticate with ADM5 or ADM11, but if you change those ADM keys to secrets, then the PIN system becomes fully secure too. Contrast the situation with Grcard's earlier model (sysmoSIM-GR1) where anyone can freely reset both regular and ADM PINs without any authentication, meaning no security whatsoever. * All 3 of COMP128v1, COMP128v2 and COMP128v3 are supported. I naturally choose COMP128v3 for my own deployments - A5/1 is weak enough to begin with, no need to weaken it further by reducing the effective key length to just 54 bits with COMP128v1 or v2. * As far as I can tell, there are NO unwanted STK applications on these cards. Harald said here earlier that Sysmocom's business relationship with Grcard ended when Grcard started shipping cards with some preinstalled STK applications displaying some pop-up messages in Chinese, but I see no evidence of any such applications being present on the FCSIM1 cards I got from them this year. I have tried issuing a feature-generous TERMINAL PROFILE toward the card (listing support for all common SAT features), and the SW response was 9000 - no matter what I tried, I never got the card to respond with SW of 91xx, indicating some proactive SIM command - thus as far as I can tell, these SIMs never issue any proactive commands. * The best good of all: no MOQ! Instead of being forced to buy 1000 or more cards and have them go to waste because I will never find that many people who have the same pattern of technology likes and dislikes as I do, I was able to buy just 200 cards - I could have ordered as few as 100, but I ordered 200 because they were cheap - and I got those 200 cards with my own custom printing and with my choice of form factor cut - I chose 2FF-only, of course. The bad: * The free reformatting ability that existed on sysmoSIM-GR1 has been taken away. On sysmoSIM-GR1 you could erase the card file system and recreate your own tree of DFs and EFs according to your own liking (with you deciding which files to include or omit, what size to allocate for each file, and what access conditions it should have), but those proprietary APDU commands from GR1 don't work on GrcardSIM2 (FCSIM1), and the official answer from Grcard is that such downstream reformatting is not allowed. I am guessing that what I want probably *can* be done by reformatting the card flash and reloading their CardOS at a lower level, but needless to say, Grcard won't divulge any of the knowledge that would be needed for such an endeavor. * The fixed formatting these cards came with (which we have no way of changing per above) is far from ideal: EF_AD is only 3 bytes and not 4, some files that aren't absolutely critical but would be nice to have like SDN and ECC are missing, and the allocated record size for EF_ADN is only 28 bytes, allowing only 14 characters for the contact name field. Contrast with old T-Mobile USA SIMs that have 44-byte ADN records (30 characters for contact name), or current Sysmocom cards that have 34-byte ADN records, allowing 20 characters. Grcard people told me that they can change this file system layout to a different one with MOQ of 10000 pcs, but of course such MOQs are absolutely not acceptable for "just for love" applications like mine. * There is no OTA programming capability on this card model. I was hoping that I could program EF_MSISDN over the air (yes, I know full well that a phone doesn't need to know its own MSISDN to make or answer calls, but all classic GSM phones have a menu command for "Show my number" or whatever it's called, and that's what EF_MSISDN on the SIM is for) like I can do on sysmoUSIM-SJS1 and sysmoISIM-SJA2 cards, but nope, this functionality just isn't there. Grcard folks were telling me that they have some other card model that supports OTA, but I never got a straight answer out of them as to whether that other card model is also GSM SIM only, or if it is UICC/USIM/ISIM - I suspect the latter, which would be totally uninteresting to me. * The worst badness of all is that Grcard people absolutely hate customers who ask too many technical questions, and when pressed, they typically respond only with non-answers. There is basically NO technical support of the kind we got used to in highly technical communities like Osmocom with vendors like Sysmocom, instead they are used to dealing with sales and marketing types. I also got the impression that selling to R&D customers is very foreign to them, instead they are set up for making cards for operator/MVNO type of customers who let the card vendor do all of the programming at the factory and don't get into any real technical stuff themselves. So here is what we got: https://www.freecalypso.org/members/falcon/pictures/SIMs/FCSIM1_front.jpeg https://www.freecalypso.org/members/falcon/pictures/SIMs/FCSIM1_back.jpeg The cards depicted in those photos are quite real, they are sitting right here at my FreeCalypso HQ in California, and they work in the sense that I can program everything including IMSI, Ki and COMP128v3 selection. I haven't set up my own GSM network yet - I already acquired a couple of nanoBTS units (one for 850 MHz, one for 1900 MHz), but I still need to acquire a better server machine for running Osmocom CNI software. Much like any other feeling and soulful human, I have a deep-rooted urge to share my work with others. When it comes to the present SIM card venture, I am doing everything I can to share my work with the community in 3 ways: 1) The software I developed for programming these cards is free to the world, with an explicit public domain license statement: https://www.freecalypso.org/hg/fc-sim-tools/ My fc-sim-tools suite is a direct competitor to pySim, written in C instead of Python, and split into separate fc-simtool and fc-uicc-tool for the two very different protocols that exist for talking to SIM cards. Oh, and my tools can be used to program Sysmocom webshop cards too, not just my Grcard-based FCSIM1. 2) If anyone else would like to buy similar cards from Grcard, I will be happy to put you in touch with my contact there and guide you through the process - and by encouraging anyone with a commercial interest to buy directly from Grcard instead of me acting as a reseller, I explicitly disavow any thought of commercially profiting from any related venture or acting as any kind of commercial entity myself. 3) If there is anyone in the world who shares my core philosophical position whose wording is imprinted on the plastic on my FCSIM1 cards (see the pictures above) and would like to get a few of these cards, please let me know, and I will be glad to send you however many cards you need, for the cost of shipping only, or at most covering my own cost of ordering more cards in the highly unlikely event that I get enough interest to run down my stock. In hacking fellowship, Mother Mychaela Hasta la Victoria, Siempre - 2G forever! From laforge at osmocom.org Wed May 12 22:00:57 2021 From: laforge at osmocom.org (Harald Welte) Date: Thu, 13 May 2021 00:00:57 +0200 Subject: Announcement of "OsmoDevCall" on May 14, 2021 Message-ID: Dear Osmocom community, It's my pleasure to announce the next OsmoDevCall at May 14, 2021 at 20:00 CEST at https://meeting4.franken.de/b/har-xbc-bsx-wvs This meeting will have the following schedule: 20:00 meet + greet 20:15 presentation by laforge: "SS7 and SIGTRAN in 2G/3G networks" 21:00 USSE: unstructured supplementary social event [*] 22:00 close of call Presentation Abstract: This talk will cover some classic circuit-switched SS7 basics as well as SIGTRAN (SS7 over IP) and how this is used as underlying transport for a variety of interfaces in the 2G (GSM) and 3G (UMTS) cellular networks even today. Attendance is free of charge and open to anyone with an interest in Osmocom. More information about OsmoDevCall, including the schedule for further upcoming events can be found at https://osmocom.org/projects/osmo-dev-con/wiki/OsmoDevCall Looking forward to meeting you on Friday. Best regards, Harald [*] this is how we started to call the "unstructured" part of osmocom developer conferences in the past, basically where anyone can talk about anything, no formal schedule or structure. -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From kkohls at cs.ru.nl Thu May 20 10:31:03 2021 From: kkohls at cs.ru.nl (Katharina Kohls) Date: Thu, 20 May 2021 12:31:03 +0200 Subject: Cardem under Manjaro/Arch: Some Troubleshooting Message-ID: Hi all, during the last days I've tried to setup cardem with a simtrace2 under Manjaro/Arch and ran into some non-default problems. I've found solutions to all of them and would like to share this :) You'll find the detailed documentation below. Have a great day, Katharina # Card Emulation on simtrace2 under Arch/Manjaro I ran into some troubles setting everything up under Manjaro/Arch and document the troubleshooting as follows. All of this is about card emulation via cardem. Problem: Using the default firmware, the phone shows "invalid SIM card" and handing over the commercial SIM does not work. ## System and Setup $ lsb_release -a LSB Version:??? n/a Distributor ID: ManjaroLinux Description:??? Manjaro Linux Release:??????? 21.0.4 Codename:?????? Ornara 1. Smart card reader in the computer, commercial SIM attached, tested via pcsc_scan 2. simtrace2 attached to the computer via USB, tested via dfu-util --list and ./simtrace2-list 3. Oneplus 6T, rooted, attached via nano SIM breakout 4. Remote control via adb (optional) ## Building Things I was not satisfied with the AUR version of libosmocore and needed to build the firmware manually, so the following documents who to first build libosmocore, then simtrace, and then the cardem firmware. ### Libosmocore Both AUR versions didn't really work for me, I've tested with 2 due to 1 being out of date: 2 aur/libosmocore-git 0.9.6.r165.ff20641-1 (+1 0.00) ??? Osmocom core library 1 aur/libosmocore 1.3.0-1 (+15 0.00) (Out-of-date: 2020-07-29) ??? core libs for osmocom #### Building libosmocore Installing the requirements was straightforward for libosmocore, so I'll skip it here. After the requirements, follow the wiki tutorial: git clone git://git.osmocom.org/libosmocore.git cd libosmocore autoreconf -fi ./configure make sudo make install Then the first problem occured: although libosmocore was installed successfully, simtrace would not find it when running ./configure: configure: error: Package requirements (libosmocore >= 1.0.0) were not met: Package 'libosmocore', required by 'virtual:world', not found The reason for this is chaos in the pkgconf paths. For me, manually adding the path did not help because the .pc files were not in the right place: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig The solution in my case was copying the .pc files from the libosmocore dir to the default pkgconf path: sudo cp libosmocore/*.pc /usr/lib/pkgconfig After that, the simtrace ./configure worked and I could build it. #### Card Emulation To test different firmwares, I checked out origin/hoernchen/simtrace_cardem (others might also work) and built the cardem firmware manually. The cross-compile process on Arch/Manjaro introduced another problem resulting in stdlib not being found: libosmocore/source/backtrace.c:28:10: fatal error: stdlib.h: No such file or directory ?? 28 | #include ????? |????????? ^~~~~~~~~~ This can be fixed via sudo pacman -S arm-none-eabi-gcc arm-none-eabi-newlib I had arm-none-eabi-gcc installed, but only adding arm-none-eabi-newlib solved the problem for me. After that building the firmware worked well, in my particular setting I used make APP=cardem BOARD=simtrace MEM=dfu After that I could flash the firmware and the card emulation worked. ## Flashing and Runing cardem ### Preparation Check if the simtrace is detected and get the device information: dfu-util --list Go to the simtrace repo: cd Documents/Repos/simtrace2/host/src Flash the device, --device info might need to be adjusted: dfu-util --device 1d50:60e3 --cfg 1 --alt 1 --reset --download path-to-repo/simtrace2/firmware/bin/simtrace-cardem-dfu.bin After flashing, it should look like this: ./simtrace2-list USB matches: 1 ??????? 1d50:60e3 Addr=22, Path=6-1.2.3, Cfg=1, Intf=0, Alt=0: 255/2/0 (CardEmulator Modem 1) ### Running Cardem From the wiki with some extensions: 1. power off phone 2. insert card adapter cable into phone 3. insert card adapter cable SIMtrace v2 board 4. plug SIMtrace v2 board in host computer USB port 5. connect external card reader to host (any USB CCID reader should do the job) 6. ensure a card is present in the reader slot (not in the SIMtrace port) 7. check if the card is detected by the reader (use CTRL-C to exit) For the next step it's important to use the correct device information and path: 8. sudo ./simtrace2-cardem-pcsc -V 1d50 -P 60e3 -C 1 -H "6-1.2.3" 9. power on phone After fixing all the above, I could successfully push through the commercial SIM in the computer. Yeeha :) From laforge at osmocom.org Thu May 20 14:22:09 2021 From: laforge at osmocom.org (Harald Welte) Date: Thu, 20 May 2021 16:22:09 +0200 Subject: Cardem under Manjaro/Arch: Some Troubleshooting In-Reply-To: References: Message-ID: Hi Katharina, sorry to hear about your somewhat lengthy journey. But the good part is you could all get it to work in the end. cardem support in "master" of the simtrace2 firmware should be working since April 25 (commit c690a1f13042c5a1a464cf094b6d304dfb8b6288), which is when I merged/ported the relevant changes from 'hoernchen/simtrace_cardem'. That version has been successfully used both by myself and another user. If you experience problems with cardem from "master", I would be very much interested in getting more details about that so we can hopefully get this resolved. btw: If you'd like to register an user account at https://osmocom.org/ and share the account name with me, I'm happy to grant wiki editing permissions. Thanks, Harald -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From kkohls at cs.ru.nl Thu May 20 14:46:57 2021 From: kkohls at cs.ru.nl (Katharina Kohls) Date: Thu, 20 May 2021 16:46:57 +0200 Subject: Cardem under Manjaro/Arch: Some Troubleshooting In-Reply-To: References: Message-ID: Hi Harald, I just switched to the master branch, rebuilt the firmware (simtrace-cardem-dfu), flashed again and tested: It doesn't seem to work and is back to a state where the phone doesn't even recognize it has a SIM (after reboot). Switching back to the hoernchen branch (+build + flash +run +reboot) still works. So it seems there is a problem left in the master firmware, but I'll need to start debugging to find out more here. Best, Katharina On 5/20/21 4:22 PM, Harald Welte wrote: > Hi Katharina, > > sorry to hear about your somewhat lengthy journey. But the good part > is you could all get it to work in the end. > > cardem support in "master" of the simtrace2 firmware should be working > since April 25 (commit c690a1f13042c5a1a464cf094b6d304dfb8b6288), which > is when I merged/ported the relevant changes from > 'hoernchen/simtrace_cardem'. That version has been successfully used > both by myself and another user. > > If you experience problems with cardem from "master", I would be very > much interested in getting more details about that so we can hopefully > get this resolved. > > btw: If you'd like to register an user account at https://osmocom.org/ and > share the account name with me, I'm happy to grant wiki editing > permissions. > > Thanks, > Harald > From laforge at osmocom.org Thu May 20 15:11:38 2021 From: laforge at osmocom.org (Harald Welte) Date: Thu, 20 May 2021 17:11:38 +0200 Subject: Cardem under Manjaro/Arch: Some Troubleshooting In-Reply-To: References: Message-ID: Hi Katharina, On Thu, May 20, 2021 at 04:46:57PM +0200, Katharina Kohls wrote: > Hi Harald, > > I just switched to the master branch, rebuilt the firmware > (simtrace-cardem-dfu), flashed again and tested: It doesn't seem to work and > is back to a state where the phone doesn't even recognize it has a SIM > (after reboot). Switching back to the hoernchen branch (+build + flash +run > +reboot) still works. Thanks for your feedback. It would be great to get the log output of the host software in this scenario, and - if you have a serial cable - the debug UART (2.5mm stereo jack) of the SIMtrace2 device. Regards, Harald -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From kkohls at cs.ru.nl Wed May 26 13:03:38 2021 From: kkohls at cs.ru.nl (Katharina Kohls) Date: Wed, 26 May 2021 15:03:38 +0200 Subject: Cardem under Manjaro/Arch: Some Troubleshooting In-Reply-To: References: Message-ID: <42c57b1e-332c-0e40-b5b4-a66b756360c6@cs.ru.nl> Hi Harald, below is the serial output for the master firmware. I first flashed and reset to verify that the serial output is working, then started cardem on the simtrace, and then rebooted the phone. For reference I have attached a cropped version of the serial output with the hoernchen branch firmware (which is obviously much longer). BTW while debugging this I realized that the pin layout might be documented in the wrong order: The wiki says TX is on 4 (pin 1 = GND, pin 4 = TX, pin 5 = RX), however, for me it only worked when hooking up pin 5 with the RX of my UART to USB. Is that a typo? Best, Katharina b'\r=============================================================================\n' b'\rSIMtrace2 firmware 0.7.0.103-c690-dirty, BOARD=simtrace, APP=cardem\n' b'\r(C) 2010-2019 by Harald Welte, 2018-2019 by Kevin Redon\n' b'\r=============================================================================\n' b'\r-I- Chip ID: 0x28900960 (Ext 0x00000000)\n' b'\r-I- Serial Nr. 51203220-574a4a52-32303620-32313037\n' b'\r-I- Reset Cause: user reset (NRST pin detected low)\n' b'\r-I- USB init...\n' b'\rUSBD_Init\n' b'SetAddr(11) -W- Sta 0x888A8 [0] -W- _ -W- Sta 0x888A8 [0] -W- _ -W- Sta 0x888A8 [0] -W- _ SetCfg(1) cfgChanged1 -I- calling configure of all configurations...\n' b'\r-I- Sniffer config\n' b'\r-I- calling init of config 1...\n' b'\r-I- Sniffer Init\n' b'\r-I- entering main loop...\n' b'\r-I- USB is now configured\n' b'-W- Sta 0x88828 [0] -W- _ ' b'-I- Changed to ISO 7816-3 state 1\n' b'\rreset de-asserted\n' b'-I- WT updated to 9600 ETU\n' b'\r-I- Changed to ISO 7816-3 state 0\n' b'\rreset asserted\n' b'\r-I- Changed to ISO 7816-3 state 1\n' b'\rreset de-asserted\n' b'-I- WT updated to 9600 ETU\n' b'\r-I- Changed to ISO 7816-3 state 0\n' b'\rreset asserted\n' b'\r-I- Changed to ISO 7816-3 state 1\n' b'\rreset de-asserted\n' b'-I- WT updated to 9600 ETU\n' b'\r-I- Changed to ISO 7816-3 state 0\n' b'\rreset asserted\n' b'\r-I- Changed to ISO 7816-3 state 1\n' b'\rreset de-asserted\n' b'-I- WT updated to 9600 ETU\n' b'\r-I- Changed to ISO 7816-3 state 0\n' On 5/20/21 5:11 PM, Harald Welte wrote: > Hi Katharina, > > On Thu, May 20, 2021 at 04:46:57PM +0200, Katharina Kohls wrote: >> Hi Harald, >> >> I just switched to the master branch, rebuilt the firmware >> (simtrace-cardem-dfu), flashed again and tested: It doesn't seem to work and >> is back to a state where the phone doesn't even recognize it has a SIM >> (after reboot). Switching back to the hoernchen branch (+build + flash +run >> +reboot) still works. > Thanks for your feedback. It would be great to get the log output of the > host software in this scenario, and - if you have a serial cable - the debug > UART (2.5mm stereo jack) of the SIMtrace2 device. > > Regards, > Harald > -------------- next part -------------- b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 0f 04 5a\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 06\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (6)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 05 04 5a\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 d6 00 00 01\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (1)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 02\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (2)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 02\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (2)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 03 04 38\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 01 04 08\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 70 80 01 00\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 02\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (2)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 44\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 0c 04 5a\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 d6 00 00 0b\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (11)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 01 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 1d\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 0d 04 5a\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 1d\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 1d\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 70 00 00 01\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 01 a4 04 04 0c\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (12)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 01 a4 00 04 02\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (2)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 01 c0 00 00 2e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 01 04 1c\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 06\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (6)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 01 04 12\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a2 01 04 28\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (40)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 01\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 1d\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b0 00 00 01\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 1d\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b0 00 00 01\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 70 80 01 00\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 01 04 28\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 02 04 1c\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 03 04 1c\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 04 04 1c\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a2 01 04 b0\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (176)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 14\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 05 04 1c\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 18 04 5a\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a2 01 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (30)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 0a\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 01 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a2 01 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (30)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 03\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 01 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 06\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (6)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 01 04 12\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 06\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (6)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 07 04 5a\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 06\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (6)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 06\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (6)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 06\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (6)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 04\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (4)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 20\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 06\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (6)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a2 01 04 02\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (2)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 fa\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 01 04 02\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a4 08 04 06\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (6)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 21\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 a2 01 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: flush_rx_buffer (30)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 c0 00 00 ed\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 01 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 03 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 04 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 05 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 06 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 07 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 08 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 09 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 0b 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 0c 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 0d 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 0e 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: USART WT set to 9600 ETU\r\n' b'-I- 0: send_tpdu_header: 00 b2 0f 04 1e\r\n' b'-I- 0: flush_rx_buffer (5)\n' b'\r-I- 0: USART WT set to 0 ETU\r\n' b'-I- 0: skipping unsupported card_insert to REMOVED\r\n' From laforge at osmocom.org Thu May 27 19:30:19 2021 From: laforge at osmocom.org (Harald Welte) Date: Thu, 27 May 2021 21:30:19 +0200 Subject: Announcement of "OsmoDevCall" on May 28, 2021 Message-ID: Dear Osmocom community, It's my pleasure to announce the next OsmoDevCall at May 28, 2021 at 20:00 CEST at https://meeting4.franken.de/b/har-xbc-bsx-wvs This meeting will have the following schedule: 20:00 meet + greet 20:15 presentation by fixeria: "Hacking binary protocols with Pycrate" 21:00 USSE: unstructured supplementary social event [*] 22:00 close of call Attendance is free of charge and open to anyone with an interest in Osmocom. More information about OsmoDevCall, including the schedule for further upcoming events can be found at https://osmocom.org/projects/osmo-dev-con/wiki/OsmoDevCall Looking forward to meeting you on Friday. Best regards, Harald [*] this is how we started to call the "unstructured" part of osmocom developer conferences in the past, basically where anyone can talk about anything, no formal schedule or structure. -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From laforge at osmocom.org Fri May 28 09:15:22 2021 From: laforge at osmocom.org (Harald Welte) Date: Fri, 28 May 2021 11:15:22 +0200 Subject: Cardem under Manjaro/Arch: Some Troubleshooting In-Reply-To: <42c57b1e-332c-0e40-b5b4-a66b756360c6@cs.ru.nl> References: <42c57b1e-332c-0e40-b5b4-a66b756360c6@cs.ru.nl> Message-ID: Hi Katharina, thanks for your follow-up. Can you please share which phone / modem models you have reproduced this with? Maybe I can find the same in my collection. I will try to run cardem on simtrace on a variety of different phones here and see which ones work or don't work. On Wed, May 26, 2021 at 03:03:38PM +0200, Katharina Kohls wrote: > BTW while debugging this I realized that the pin layout might be documented > in the wrong order: The wiki says TX is on 4 (pin 1 = GND, pin 4 = TX, pin 5 > = RX), however, for me it only worked when hooking up pin 5 with the RX of > my UART to USB. Is that a typo? I've always using the 2.5mm stereo jack, as those are used in a lot of Osmocom projects starting with OsmocomBB more than a decade ago. tHe 5-pin UART header was designed to match the FTDI USB-UART cable pin-out. The schematics are available, they should definitely be the definitive source to answer those kind of questions. It states: 1 GND 2 CTS 3 VCC 4 DRXD (SAM3) = TXD of your UART cable 5 DRXD (SAM3) = RXD of your UART 6 CTS Maybe the wiki could be further clarified? -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From kkohls at cs.ru.nl Fri May 28 09:29:58 2021 From: kkohls at cs.ru.nl (Katharina Kohls) Date: Fri, 28 May 2021 11:29:58 +0200 Subject: Cardem under Manjaro/Arch: Some Troubleshooting In-Reply-To: References: <42c57b1e-332c-0e40-b5b4-a66b756360c6@cs.ru.nl> Message-ID: Hi Harald, On 5/28/21 11:15 AM, Harald Welte wrote: > Hi Katharina, > > thanks for your follow-up. > > Can you please share which phone / modem models you have reproduced this with? I am testing with a OnePlus 6T with a Qualcomm SDM845 Snapdragon 845 > > Maybe I can find the same in my collection. > > I will try to run cardem on simtrace on a variety of different phones here and > see which ones work or don't work. > > On Wed, May 26, 2021 at 03:03:38PM +0200, Katharina Kohls wrote: >> BTW while debugging this I realized that the pin layout might be documented >> in the wrong order: The wiki says TX is on 4 (pin 1 = GND, pin 4 = TX, pin 5 >> = RX), however, for me it only worked when hooking up pin 5 with the RX of >> my UART to USB. Is that a typo? > I've always using the 2.5mm stereo jack, as those are used in a lot of Osmocom projects > starting with OsmocomBB more than a decade ago. > > tHe 5-pin UART header was designed to match the FTDI USB-UART cable pin-out. > > The schematics are available, they should definitely be the definitive source to > answer those kind of questions. > > It states: > 1 GND > 2 CTS > 3 VCC > 4 DRXD (SAM3) = TXD of your UART cable > 5 DRXD (SAM3) = RXD of your UART > 6 CTS > > Maybe the wiki could be further clarified? I think this already is a good explanation: The Wiki reads like pin 5 *is* the RX of the simtrace, but looking at the documentation above it *should be connected to* the RX of the UART adapter. I can clarify that in the Wiki. Best, Katharina From laforge at osmocom.org Mon May 31 07:03:27 2021 From: laforge at osmocom.org (Harald Welte) Date: Mon, 31 May 2021 09:03:27 +0200 Subject: Cardem under Manjaro/Arch: Some Troubleshooting In-Reply-To: References: <42c57b1e-332c-0e40-b5b4-a66b756360c6@cs.ru.nl> Message-ID: Hi Katharina, Joachim (Cc) was able to reproduce non-working cardem in current master, and we're trying to fix it ASAP. If you feel adventurous, feel free to give the firmware of "laforge/cardem2" branch of simtrace2.git a try, and if that fails, fall back to "laforge/cardem1". Regards, Harald -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)