Espotel / Mbed 2 deprecated Elmo-Terminal-App

Dependencies:   SX1272lib mbed

Fork of Elmo-Terminal by Michal Leksinski

Committer:
WGorniak
Date:
Mon Oct 05 08:29:51 2015 +0200
Revision:
8:9244de6fdaf1
added Readme

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WGorniak 8:9244de6fdaf1 1 All current SW functionality is implemented in MCU.
WGorniak 8:9244de6fdaf1 2 Communication with Elmo board is provided via USART1_TX / USART1_RX.
WGorniak 8:9244de6fdaf1 3 SX1272 driver is based on project:
WGorniak 8:9244de6fdaf1 4
WGorniak 8:9244de6fdaf1 5 https://developer.mbed.org/users/netblocks/code/SX1272Lib/file/a5c9fd1a1ea6/sx1272
WGorniak 8:9244de6fdaf1 6
WGorniak 8:9244de6fdaf1 7 which is C++ implementation of official Semtech driver (written in C).
WGorniak 8:9244de6fdaf1 8
WGorniak 8:9244de6fdaf1 9
WGorniak 8:9244de6fdaf1 10 ####################################################################################
WGorniak 8:9244de6fdaf1 11 ####################################################################################
WGorniak 8:9244de6fdaf1 12 ####################################################################################
WGorniak 8:9244de6fdaf1 13
WGorniak 8:9244de6fdaf1 14 Terminal commands with examples:
WGorniak 8:9244de6fdaf1 15 - h: shows help
WGorniak 8:9244de6fdaf1 16
WGorniak 8:9244de6fdaf1 17
WGorniak 8:9244de6fdaf1 18 - gr: prints all registers, examples: ...
WGorniak 8:9244de6fdaf1 19 # gr
WGorniak 8:9244de6fdaf1 20 > Radio start LORA Mode <
WGorniak 8:9244de6fdaf1 21 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
WGorniak 8:9244de6fdaf1 22
WGorniak 8:9244de6fdaf1 23 00 00 80 1a 0b 00 52 d9 00 00 0f 19 2b 03 01 80 00
WGorniak 8:9244de6fdaf1 24 10 00 00 00 00 00 00 00 00 00 00 00 00 00 8a 74 05
WGorniak 8:9244de6fdaf1 25 20 00 08 01 40 00 00 00 00 00 00 00 00 00 50 14 40
WGorniak 8:9244de6fdaf1 26 30 00 c3 05 27 1c 0a 00 0a 42 12 65 1d 01 a1 00 00
WGorniak 8:9244de6fdaf1 27 40 00 00 22 13 0e 5b db 24 0e 81 3a 2e 00 03 00 00
WGorniak 8:9244de6fdaf1 28 50 00 00 04 23 00 41 00 22 09 05 84 0b d0 0b d0 32
WGorniak 8:9244de6fdaf1 29 60 2b 14 00 00 11 00 00 00 0f e0 00 0c f2 14 25 07
WGorniak 8:9244de6fdaf1 30 70 00
WGorniak 8:9244de6fdaf1 31 > Radio stop <
WGorniak 8:9244de6fdaf1 32
WGorniak 8:9244de6fdaf1 33
WGorniak 8:9244de6fdaf1 34 - tx: transmit string - tx [string], examples: ...
WGorniak 8:9244de6fdaf1 35 # tx label
WGorniak 8:9244de6fdaf1 36 > Radio start LORA Mode <
WGorniak 8:9244de6fdaf1 37 Performing tx
WGorniak 8:9244de6fdaf1 38 sent data: label
WGorniak 8:9244de6fdaf1 39 sent data: label
WGorniak 8:9244de6fdaf1 40 sent data: label
WGorniak 8:9244de6fdaf1 41 ...
WGorniak 8:9244de6fdaf1 42 sent data: label
WGorniak 8:9244de6fdaf1 43 > Radio stop <
WGorniak 8:9244de6fdaf1 44 # tx
WGorniak 8:9244de6fdaf1 45 > Radio start LORA Mode <
WGorniak 8:9244de6fdaf1 46 Performing tx
WGorniak 8:9244de6fdaf1 47 sent data: TXTXTX
WGorniak 8:9244de6fdaf1 48 sent data: TXTXTX
WGorniak 8:9244de6fdaf1 49 ...
WGorniak 8:9244de6fdaf1 50 > Radio stop <
WGorniak 8:9244de6fdaf1 51
WGorniak 8:9244de6fdaf1 52
WGorniak 8:9244de6fdaf1 53 - rx: enables receive mode (looped)- rx, examples: ...
WGorniak 8:9244de6fdaf1 54 # rx
WGorniak 8:9244de6fdaf1 55 > Radio start LORA Mode <
WGorniak 8:9244de6fdaf1 56 Performing rx
WGorniak 8:9244de6fdaf1 57 received: PING, rssi: -139
WGorniak 8:9244de6fdaf1 58 > Radio stop <
WGorniak 8:9244de6fdaf1 59
WGorniak 8:9244de6fdaf1 60
WGorniak 8:9244de6fdaf1 61 - pp: ping pong test, examples: ...
WGorniak 8:9244de6fdaf1 62 # pp
WGorniak 8:9244de6fdaf1 63 Starting Ping-Pong loop
WGorniak 8:9244de6fdaf1 64 ...Ping
WGorniak 8:9244de6fdaf1 65 Pong...
WGorniak 8:9244de6fdaf1 66 ...Ping
WGorniak 8:9244de6fdaf1 67 Pong...
WGorniak 8:9244de6fdaf1 68 ...Ping
WGorniak 8:9244de6fdaf1 69 > Radio stop <
WGorniak 8:9244de6fdaf1 70
WGorniak 8:9244de6fdaf1 71
WGorniak 8:9244de6fdaf1 72 - sv: sets variables - sv [variable1 value1 [variable2 value2 [....]]], examples: ...
WGorniak 8:9244de6fdaf1 73 # sv
WGorniak 8:9244de6fdaf1 74 freq: the frequency
WGorniak 8:9244de6fdaf1 75 860000...1020000 kHz
WGorniak 8:9244de6fdaf1 76
WGorniak 8:9244de6fdaf1 77 power: the output power
WGorniak 8:9244de6fdaf1 78 -1...20 dBm
WGorniak 8:9244de6fdaf1 79
WGorniak 8:9244de6fdaf1 80 bandwidth: the bandwidth
WGorniak 8:9244de6fdaf1 81 0: 125 kHz
WGorniak 8:9244de6fdaf1 82 1: 250 kHz
WGorniak 8:9244de6fdaf1 83 2: 500 kHz
WGorniak 8:9244de6fdaf1 84
WGorniak 8:9244de6fdaf1 85 dataRate: the Datarate / spreading factor
WGorniak 8:9244de6fdaf1 86 6: 64
WGorniak 8:9244de6fdaf1 87 7: 128
WGorniak 8:9244de6fdaf1 88 8: 256
WGorniak 8:9244de6fdaf1 89 9: 512
WGorniak 8:9244de6fdaf1 90 10: 1024
WGorniak 8:9244de6fdaf1 91 11: 2048
WGorniak 8:9244de6fdaf1 92 12: 4096
WGorniak 8:9244de6fdaf1 93
WGorniak 8:9244de6fdaf1 94 codeRate: the coding rate
WGorniak 8:9244de6fdaf1 95 1: 4/5
WGorniak 8:9244de6fdaf1 96 2: 4/6
WGorniak 8:9244de6fdaf1 97 3: 4/7
WGorniak 8:9244de6fdaf1 98 4: 4/8
WGorniak 8:9244de6fdaf1 99
WGorniak 8:9244de6fdaf1 100 preambleLen: the Preamble length
WGorniak 8:9244de6fdaf1 101 6...65535 symbols
WGorniak 8:9244de6fdaf1 102
WGorniak 8:9244de6fdaf1 103 symbTimeout: the RxSingle timeout value
WGorniak 8:9244de6fdaf1 104 4...1023 symbols
WGorniak 8:9244de6fdaf1 105
WGorniak 8:9244de6fdaf1 106 paBoost: forces PA_BOOST output
WGorniak 8:9244de6fdaf1 107 0: RFO pin
WGorniak 8:9244de6fdaf1 108 1: PA_BOOST pin
WGorniak 8:9244de6fdaf1 109
WGorniak 8:9244de6fdaf1 110 delay: tx delay in ms
WGorniak 8:9244de6fdaf1 111 0...100000 ms
WGorniak 8:9244de6fdaf1 112 # sv freq
WGorniak 8:9244de6fdaf1 113 no value for freq
WGorniak 8:9244de6fdaf1 114 the frequency
WGorniak 8:9244de6fdaf1 115 860000...1020000 kHz
WGorniak 8:9244de6fdaf1 116 # sv freq 1000000
WGorniak 8:9244de6fdaf1 117 set freq: 1000000kHz
WGorniak 8:9244de6fdaf1 118
WGorniak 8:9244de6fdaf1 119
WGorniak 8:9244de6fdaf1 120 - gv: lists all variables, examples: ...
WGorniak 8:9244de6fdaf1 121 # gv
WGorniak 8:9244de6fdaf1 122 freq: 868000 kHz
WGorniak 8:9244de6fdaf1 123 power: 14 dBm
WGorniak 8:9244de6fdaf1 124 bandwidth: 2 - 500 kHz
WGorniak 8:9244de6fdaf1 125 dataRate: 7 - 128
WGorniak 8:9244de6fdaf1 126 codeRate: 1 - 4/5
WGorniak 8:9244de6fdaf1 127 preambleLen: 8 symbols
WGorniak 8:9244de6fdaf1 128 symbTimeout: 5 symbols
WGorniak 8:9244de6fdaf1 129 paBoost: 0 - RFO pin
WGorniak 8:9244de6fdaf1 130
WGorniak 8:9244de6fdaf1 131
WGorniak 8:9244de6fdaf1 132 - Button starts ping-pong.