This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to read input values from Tera Term using keyboard

Hello ,

I want to read the values from tera term  , and PCA10040 have to  read that value on polling basis .

Then advertise that  values / data  as manufacturing data. i am  using sdk  v15.3.

Provide me a way , how should I do this .

Let me know further information required.

Akash Patil

Parents
  • Hi! 

    So just to be clear:

    -you want to write values in TeraTerm that the chip reads through UART, regularly (polling).

    -then you want this data to be used in the BLE advertising packets.

    Is this what you want to do?

    Best regards,

    Heidi

  • yes , you got it right , @heidi

Reply Children
  • please provide some solution for that

  • Yes, okay! So the best way to do this is to combine two different examples that are available in the SDK.

    The UART example which demonstrates how to use the UART peripheral on the board, and enables two-way communication between the board and a PC terminal.

    And then perhaps the BLE NUS example which emulates a serial port over BLE, so the board can act as a peer to your phone.  Depending on what role you pant your board to have in the BLE connection, you can use another of the BLE examples, check out this link for more information. 

    The best way to go about is starting out with the BLE sample and then modifying it to add UART peripheral function by using the UART example as a template for this. 

    Best regards,

    Heidi