diff --git a/doc/api.md b/doc/api.md index 6c8f2f5..17763fc 100644 --- a/doc/api.md +++ b/doc/api.md @@ -49,9 +49,9 @@ Note: Settings have to be set in the kernel module, at the line ``` tM,nP,nID = {}, 4096, 1 ``` -Where 4096 is the port and 1 is the device ID. Device ID can be any data type, port must be a number. +Where 4096 is the port and 1 is the device ID. -Network messages can be read from `_G.ev`, they have the type `net_msg` +Network messages events have the type `net_msg` ### `ns(id,po,msg)` Sends network message `msg` to device `id` on port `po`