Skip to content

Commit 3b22ba2

Browse files
committed
Merge branch 'master' of https://github.com/insighiot/microCoAPy
2 parents b9cc307 + a8f4083 commit 3b22ba2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ The first goal of this implementation is to provide basic functionality to send
1616
- [Example of usage](#example-of-usage-1)
1717
- [Code explained](#code-explained-1)
1818
- [Custom sockets](#custom-sockets)
19+
- [Pycom custom socket based on AT commands](#pycom-custom-socket-based-on-at-commands)
20+
- [Beta features under implementation or evaluation](#beta-features-under-implementation-or-evaluation)
21+
- [Discard incoming retransmission](#discard-incoming-retransmission)
22+
- [Activate debug messages](#activate-debug-messages)
1923
- [Future work](#future-work)
2024
- [Issues and contributions](#issues-and-contributions)
2125

@@ -60,7 +64,9 @@ client.stop()
6064
#### Code explained
6165
Lets examine the above code and explain its purpose.
6266

63-
```python
67+
```pythonmple-of-usage)
68+
14
69+
     - [Code explained](#cod
6470
def receivedMessageCallback(packet, sender):
6571
print('Message received:', packet.toString(), ', from: ', sender)
6672
print('Message payload: ', packet.payload.decode('unicode_escape'))
@@ -224,7 +230,7 @@ client.setCustomSocket(customSocket)
224230

225231
## Pycom custom socket based on AT commands
226232

227-
Since most of the implementations of NBIoT networks are based on IPv6, it was essential to move to a custom implementation of UDP socket, as Pycom do not yet support natively IPv6 sockets. Thus, in (examples/pycom/nbiot/pycom_at_socket.py) you can find a complete implementation of a sample socket that directly uses Sequans AT commands.
233+
Since most of the implementations of NBIoT networks are based on IPv6, it was essential to move to a custom implementation of UDP socket, as Pycom do not yet support natively IPv6 sockets. Thus, in [examples/pycom/nbiot/pycom_at_socket.py](https://github.com/insighio/microCoAPy/blob/master/examples/pycom/nbiot/pycom_at_socket.py) you can find a complete implementation of a sample socket that directly uses Sequans AT commands.
228234

229235
NOTE: The socket to work without limitations, needs custom built Pycom firmware based on the PR https://github.com/pycom/pycom-micropython-sigfox/pull/429 that handles the transmittion of long AT command messages. If the default firmware is used, the COAP message MUST fit within 62 bytes, or else it will fail.
230236

@@ -241,7 +247,7 @@ client = microcoapy.Coap()
241247
client.discardRetransmissions = True
242248
```
243249

244-
## Activate / Deactivate debug messages
250+
## Activate debug messages
245251

246252
By default, debug prints in microcoapy are enabled. Though, the user can deactivate the prints per Coap instance:
247253

0 commit comments

Comments
 (0)