PostFrontal Forum
PostFrontal Forum
LK8000_Support_Forum | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 LK8000 International Support
 Hardware
 Event for terminal send as custom button

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
rewopen Posted - 15/09/2024 : 08:16:45
Hello. I would like to create a custom button to send AT+LECCONN=EB199BEEEFE21 to ComPort1. I have replaced the HM-10 module in my Kobo with an FSC-BT630. With the command AT+LECCONN=EB199BEEEFE21 I can receive data from my XCTraxer maxx 2. After disconnecting the power source, the command must be entered again. I have tried to solve this with the SendNMEAPort1 command. The data is not transmitted true to character, the special characters + and = do not work.
The input in the terminal works.
regards Wolfgang
6   L A T E S T    R E P L I E S    (Newest First)
rewopen Posted - 17/10/2024 : 18:10:21
Hello, it works. I have to enter the following characters: event=SendDataPort1 AT+LECCONN=EB199BEEEFE21\r\n
Now I have a custom-button in .xci file to connect the Bluetooth module and my XCTracer Maxx 2.
Thanks for your help.
regards Wolfgang
brunotl Posted - 16/10/2024 : 23:07:38
should be fixed by last commit...
rewopen Posted - 15/10/2024 : 14:22:33
Hello
Now, I can send characters with event=SendDataPort1 to my Bluetooth-Modul, but +-= is causing problems. I need AT+LECCONN=EB199BEEEFE21 and tried it between "" and '', no success.
regards Wolfgang
rewopen Posted - 14/10/2024 : 18:22:39
Thank you, but it doesn't work.
I compiled with docker. If I enter at the custom-button:
mode=Menu
type=key
event=StatusMessage BT connect
event=SendNMEAPort1 AT+LECCONN=EB199BEEEFE21 /r/n
label=BT Maxx2
location=12
i see with RealTerm $AT*15

if I enter event=SendDataPort1 AT+LECCONN=EB199BEEEFE21 /r/n, I receive nothing. My Bluetooth module is connected as /dev/ttymxc0
regards Wolfgang
brunotl Posted - 11/10/2024 : 16:01:25
in mster brach, i've added new event `SendDataPort[1-6]` same as `SendNMEAPort[1-6]` but doesn't not add leading '$' nor 'trailing nmea crc' ...

https://github.com/LK8000/LK8000/commit/9e74d02d9a15cdffa018395eb20b2bfe2821ba08#diff-84d1770a3d9b244db35738d40982fb6dd75e8b02cc1944a809f10f33a3cf0731R3446
rewopen Posted - 11/10/2024 : 08:57:11
Hello, is it possible to create a button that sends a defined command to the terminal when compiling myself? How should the script look like and in which folder should it be saved before compiling myself? regards Wolfgang

PostFrontal Forum © PostFrontal - La community del Volo a Vela Go To Top Of Page
This page was generated in 0.11 seconds. Snitz Forums 2000

Since 2006, owned and maintained by PostFrontal S.A.S. di Giuliano Golfieri & c. - VAT ID: IT05264240960
THIS WEBSITE ONLY USES FUNCTIONAL COOKIES
Privacy & Cookie Policy