|  Developer

register

Connection type: UI

  • Controller registration request after establishing connection with NMA server
Edit
Field Type Required Description
id string + Unique request id
params.serial string + Hub unique id
params.firmware string + Version of firmware
params.media string + Connection type: or
params.hubType string + Hub type: , , , , , ,
params.mac_address string + Hub’s MAC address
params.controller_uuid string + Hub’s UUID
params.location string + Can contain one of possible values: , , ,
params.maxFrameSize integer + Maximum size of one WSS frame in bytes, used by hub’s websocket client
Edit
Edit
Edit
				
					{
    "id":"__UNIQUE_ID__",
    "method":"register",
    "params":{
        "serial":"__SERIAL__",
        "firmware":"__VERSION__",
        "media":"radio",
        "hubType":"32.1",
        "controller_uuid":"_UUID_",
        "location":"default",
        "maxFrameSize":__FRAME_SIZE__
    }
}				
			
Edit
				
					{
    "error":null,
    "id":"__UNIQUE_ID__",
    "method":"registered",
    "result":{
    }
}