Skip to content

Commit

Permalink
libticables, libticalcs: add a few missing Nspire NavNet service IDs.
Browse files Browse the repository at this point in the history
  • Loading branch information
adriweb authored and debrouxl committed Dec 6, 2020
1 parent da76744 commit d5c3475
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 13 deletions.
10 changes: 9 additions & 1 deletion libticables/trunk/src/hex2nsp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,23 @@ static const ServiceId sids[] =
{ 0x00FF, "Reception Ack" },
{ 0x4001, "Null" },
{ 0x4002, "Echo" },
{ 0x4003, "Device Address Request" },
{ 0x4003, "Device Address Request/Assignment" },
{ 0x4020, "Device Information" },
{ 0x4021, "Screen Capture" },
{ 0x4022, "Event" },
{ 0x4023, "Shutdown" },
{ 0x4024, "Screen Capture w/ RLE" },
{ 0x4041, "Activity" },
{ 0x4042, "Keypresses" },
{ 0x4043, "RPC" },
{ 0x4050, "Login" },
{ 0x4051, "Messages" },
{ 0x4054, "Hub Connection" },
{ 0x4060, "File Management" },
{ 0x4080, "OS Installation" },
{ 0x4090, "Remote Handheld Management" },
{ 0x40DE, "Service Disconnect" },
{ 0x5000, "Ext Echo" },

{ 0x8003, "8003" },
{ 0x8004, "8004" },
Expand Down
16 changes: 9 additions & 7 deletions libticalcs/trunk/src/nsp_cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,25 @@ extern "C" {
// Services IDs
#define NSP_SID_NULL 0x4001
#define NSP_SID_ECHO 0x4002

#define NSP_SID_ADDR_REQUEST 0x4003
#define NSP_SID_ADDR_ASSIGN 0x4003
#define NSP_SID_DEV_INFOS 0x4020
#define NSP_SID_SCREENSHOT 0x4021
#define NSP_SID_EVENT 0x4022
#define NSP_SID_SHUTDOWN 0x4023
#define NSP_SID_SCREEN_RLE 0x4024

#define NSP_SID_ACTIVITY 0x4041
#define NSP_SID_KEYPRESSES 0x4042

#define NSP_SID_RPC 0x4043
#define NSP_SID_LOGIN 0x4050
#define NSP_SID_MESSAGES 0x4051

#define NSP_SID_HUB_CONNECTION 0x4054
#define NSP_SID_FILE_MGMT 0x4060

#define NSP_SID_TIROBOT 0x4070

#define NSP_SID_OS_INSTALL 0x4080

#define NSP_SID_REMOTE_MGMT 0x4090
#define NSP_SID_DISCONNECT 0x40DE
#define NSP_SID_EXTECHO 0x5000

// Errors
#define NSP_ERR_OK 0x00
Expand Down
11 changes: 6 additions & 5 deletions libticalcs/trunk/src/nsp_vpkt.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,23 @@ extern "C" {
#define NSP_PORT_ECHO 0x4002
#define NSP_PORT_ADDR_REQUEST 0x4003
#define NSP_PORT_ADDR_ASSIGN 0x4003

#define NSP_PORT_DEV_INFOS 0x4020
#define NSP_PORT_SCREENSHOT 0x4021
#define NSP_PORT_EVENT 0x4022
#define NSP_PORT_SHUTDOWN 0x4023
#define NSP_PORT_SCREEN_RLE 0x4024

#define NSP_PORT_ACTIVITY 0x4041
#define NSP_PORT_KEYPRESSES 0x4042

#define NSP_PORT_RPC 0x4043
#define NSP_PORT_LOGIN 0x4050
#define NSP_PORT_MESSAGES 0x4051

#define NSP_PORT_HUB_CONNECTION 0x4054
#define NSP_PORT_FILE_MGMT 0x4060
#define NSP_PORT_TIROBOT 0x4070
#define NSP_PORT_OS_INSTALL 0x4080
#define NSP_PORT_REMOTE_MGMT 0x4090

#define NSP_PORT_DISCONNECT 0x40DE
#define NSP_PORT_EXTECHO 0x5000

// Functions

Expand Down

0 comments on commit d5c3475

Please sign in to comment.