Skip to content

Commit 4e4865e

Browse files
committed
add model property
1 parent 23302cb commit 4e4865e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

adafruit_rockblock.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,8 @@ def _uart_xfer(self, cmd):
6868

6969
self._uart.reset_input_buffer()
7070
return resp
71+
72+
@property
73+
def model(self):
74+
'''Return phone model.'''
75+
return self._uart_xfer('+GMM')

0 commit comments

Comments
 (0)