Passcode typing from my laptop via Uart?

9 posts / 0 new
Last post
chungtran
Offline
Last seen:4 years 9 months ago
加入:2015-01-21 05:57
Passcode typing from my laptop via Uart?

Hi support team,

我上来with an idea for my basic kit. As you knew, DA14580 dev basic kit have no keyboard in order to type passcode in security request when it implemented bonding procedure to DSPA android app. So that, could i use a Uart interface to connect between my laptop and Dev-kit, i mean can i type passcode from my laptop via Uart?

Thanks and regards,

Chung Tran

chungtran
Offline
Last seen:4 years 9 months ago
加入:2015-01-21 05:57
Could somesome help me?

Could somesome help me?

PY_Dialog
Offline
Last seen:2 years 7 months ago
Staff
加入:2014-08-25 09:59
Hi Chungtran,

Hi Chungtran,

I think it's possible. You need to program your code to input pass code through uart.

Regards!
PY

bluetoothdev
Offline
Last seen:5 years 8 months ago
加入:2015-02-12 07:11
Hi PY,

Hi PY,

Thanks for your anwser! But could you tell me in detail about which functions use for get data from uart and compare that data with the passcode have been created? I intend refer to DSPS and KBD reference to make our idea!

best regards,
Blue

JE_Dialog
Offline
Last seen:13 hours 18 min ago
Staff
加入:2013-12-05 14:02
please note : the project

please note : the project will also need to be configured to work with the BASIC kit.. please see section 10 of the Keyboard user manual which shows how to map the GPIO through modification of config.h

BR JE_Dialog

bluetoothdev
Offline
Last seen:5 years 8 months ago
加入:2015-02-12 07:11
Hi JE,

Hi JE,

To be honest, i've tested KDB reference with my basic kit (after following section 10 of the Keyboard user manual ) and it absolutely runs good! But my issue is i could not type pascode from my basic kit so i wonder could i use uart to type passcode from my PC keyboard?

best regards,

Blue

PY_Dialog
Offline
Last seen:2 years 7 months ago
Staff
加入:2014-08-25 09:59
Hi bluetoothdev,

Hi bluetoothdev,

This application is targeted to run with a keyboard HW if you want full functions including Binding. If you use basic kit, the example project can't let you input passcode. So you can do either:
1. use fly wire to connect Basic kit GPIO out to your keyboard matrix, and customize the config file following section 10 of keyboard user manual. Or
2. As you said which is possible is, using peripheral like uart to input passcode. However, we don't have any reference to do specifically do this. And it's not a job with small effort.

If you are only for demo purpose, I would like suggest you choose option1.

Regards!
PY

chungtran
Offline
Last seen:4 years 9 months ago
加入:2015-01-21 05:57
Hi PY,

Hi PY,

Thanks so much for your anwsers! Its oke! I will try to do somthing with UART to check it and review for you soon.

Best regard,

Chung Tran

chungtran
Offline
Last seen:4 years 9 months ago
加入:2015-01-21 05:57
Hi PY,

Hi PY,

Could i change the role between my dev basic kit and android device in bonding process ? I mean passcode would be entered from my android device? (Not as my dev kit)

Thanks,

Chung Tran