Skip to content

Commit

Permalink
Merge pull request #33 from ps2/dev
Browse files Browse the repository at this point in the history
v1.0
  • Loading branch information
ps2 committed Oct 21, 2017
2 parents 820c00c + 3461e28 commit df23010
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,4 +355,5 @@ Power amplifier output power setting 1.

### PA_TABLE0 (0xDF2E)

Power amplifier output power setting 0.
Power amplifier output power setting 0.

9 changes: 5 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
machine:
pre:
- sudo apt-get install -y sdcc
- go get github.com/tcnksm/ghr
test:
override:
- ./build-all.sh

dependencies:
pre:
- sudo apt-get install -y sdcc
- go get github.com/tcnksm/ghr

deployment:
release:
branch: master
Expand Down
2 changes: 1 addition & 1 deletion commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void cmd_get_state() {
}

void cmd_get_version() {
serial_tx_str("subg_rfspy 0.9");
serial_tx_str("subg_rfspy 1.0");
}

void do_cmd(uint8_t cmd) {
Expand Down
11 changes: 5 additions & 6 deletions tools/serial_rf_spy.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,13 @@ def sync(self):
data = self.get_response(1)
if data == "OK":
print "RileyLink " + data
break
print "retry", len(data), str(data).encode('hex')
break
print "retry", len(data), str(data).encode('hex'), "(Do you need to run 'export RFSPY_RTSCTS=0' first?)"

while 1:
self.send_command(self.CMD_GET_VERSION)
data = self.get_response(1)
if len(data) >= 3:
print "Version: " + data
break
print "retry", len(data), str(data).encode('hex')

break
print "retry", len(data), str(data).encode('hex'), "(Do you need to run 'export RFSPY_RTSCTS=0' first?)"

0 comments on commit df23010

Please # to comment.