Quote:
Originally Posted by hawhill
Just to understand this correctly: You want to attach that bluetooth module to the AuraHD using the serial interface, right? And now you want to use your AuraHD to connect to other bluetooth devices (using the bluetooth serial port profile?) - or do you want to use a bluetooth-enabled PC to connect to the AuraHD?
If the latter is what you aim for, you need to run a getty on the serial line - well, isn't there one running already?
If the former is your goal, you might need to stop getty, use a decent terminal emulator plus e.g. minicom/nanocom or similar. Also, you need to read up on configuration of your adapter for the setup of the bluetooth connection. It might even be difficult or impossible to use the adapter that way - well, out of the box. Under the hood, almost all these adapters are the same and there is software (proprietary, on Windows) to program these thingies. They are actually little microcontrollers with bluetooth functionality.
|
Basically the latter. Win7 sees it as "Standard Serial over Bluetooth link (COM#)", two of them (one Tx and one Rx, I presume). Under Bluetooth Devices it appears as "HC-06" and the Properties "Services" has "Serial port (SPP) 'Dev B' COM9". Using PuTTY on serial COM9 lets me "pair" (the Bluetooth side/link) and if I short the Tx and Rx pins I can see what I type coming back in PuTTY. So it is working just as if it were a cable connecting two serial ports.
Where I am stuck is working with the serial port on my AuraHD, I tried "setserial" in tshering's kbterminal and only get the description of the command. Got it now, (operator error)
----------------------
Edit: It appears that grep finds 3 functioning? uarts at:
/dev/ttymxc0, /dev/ttymxc1 and /dev/ttymxc2. If I am reading it right, ttymxc0 is the one to the bootloader/Linux and is the one I am trying to connect to. It should be "J5" in the attached photo (I stole from a web site).
It is at 115200, which could be my problem. The other two are at 9600 that I need to talk to the Bluetooth device serial side. I don't know what they connect to on the Kobo.
So if I were to set ttymxc0 to 9600, I still would want to send commands to change the Bluetooth device serial side's baudrate (as described
here)
--------------------------------------------------
With ttymxc0 set to 9600 there was some screen processing related messages appearing in PuTTY on my PC. This makes sense with the use made of tty0 in the MX reference design.
Set ttymxc0 back to 115200 for now. But it looks like that is the right physical connection point.
---------------------------------------------------
This sounds promising:
busybox provides "setconsole" and "setlogcons", which are able to redirect
the system console (which runs on serial) somewhere else (like /dev/null or
some telnet-pty, if desired) on-the-fly.
This might be another idea than simply to discard the console by redirecting
it completely to /dev/null.
Regards,
Sebastian
-------------------------------------------
"stty" might work if I could get the arguments right.
I guess I should break down and try and get tty over wifi working. (Telnet)
Luck;
Ken