identity-micropython-tag: clean separation from IoT, fix package.json
This commit is contained in:
@@ -53,7 +53,7 @@ def _show(lines):
|
||||
|
||||
|
||||
def _show_state(state, detail=''):
|
||||
_show(['Identity IoT', 'WIDE / AEL', '', state, detail])
|
||||
_show(['Identity Tag', 'WIDE / AEL', '', state, detail])
|
||||
|
||||
|
||||
# =============================================================================
|
||||
@@ -314,7 +314,7 @@ def run():
|
||||
elif state == 'CAPABILITY_DETECT':
|
||||
caps = detect_capabilities(cfg)
|
||||
_show([
|
||||
'Identity IoT',
|
||||
'Identity Tag',
|
||||
'NFC:' + ('Y' if caps['has_nfc'] else 'N') +
|
||||
' SNS:' + ('Y' if caps['has_sensor'] else 'N') +
|
||||
' RLY:' + ('Y' if caps['has_relay'] else 'N'),
|
||||
|
||||
2
main.py
2
main.py
@@ -1,5 +1,5 @@
|
||||
# ============================================================+
|
||||
# Identity IoT — main.py
|
||||
# Identity Tag — main.py
|
||||
# (c) Copyright : ae Aeonian Engineering Limited - Hong Kong
|
||||
# (c) Copyright : WIDE di D. Papa - Naples - Italy
|
||||
# ============================================================+
|
||||
|
||||
Reference in New Issue
Block a user