Package nxt :: Module system

Module system

source code

Use for communications regarding the NXT filesystem and such ***ADVANCED USERS ONLY***

Functions
 
open_read(opcode, fname) source code
 
open_write(opcode, fname, n_bytes) source code
 
read(opcode, handle, n_bytes) source code
 
write(opcode, handle, data) source code
 
close(opcode, handle) source code
 
delete(opcode, fname) source code
 
find_first(opcode, fname) source code
 
find_next(opcode, handle) source code
 
get_firmware_version(opcode) source code
 
open_write_linear(opcode, fname, n_bytes) source code
 
open_read_linear(opcode, fname) source code
 
open_write_data(opcode, fname, n_bytes) source code
 
open_append_data(opcode, fname) source code
 
request_first_module(opcode, mname) source code
 
request_next_module(opcode, handle) source code
 
close_module_handle(opcode, handle) source code
 
read_io_map(opcode, mod_id, offset, n_bytes) source code
 
write_io_map(opcode, mod_id, offset, content) source code
 
boot(opcode) source code
 
set_brick_name(opcode, bname) source code
 
get_device_info(opcode) source code
 
delete_user_flash(opcode) source code
 
poll_command_length(opcode, buf_num) source code
 
poll_command(opcode, buf_num, n_bytes) source code
 
bluetooth_factory_reset(opcode) source code
Variables
  OPCODES = {0x80:(open_read, _parse_open_read), 0x81:(open_writ...
  __package__ = None
Variables Details

OPCODES

Value:
{0x80:(open_read, _parse_open_read), 0x81:(open_write, _parse_open_wri\
te), 0x82:(read, _parse_read), 0x83:(write, _parse_write), 0x84:(close\
, _parse_close), 0x85:(delete, _parse_delete), 0x86:(find_first, _pars\
e_find), 0x87:(find_next, _parse_find), 0x88:(get_firmware_version, _p\
arse_get_firmware_version), 0x89:(open_write_linear, _parse_open_write\
), 0x8A:(open_read_linear, _parse_open_read_linear), 0x8B:(open_write_\
data, _parse_open_write), 0x8C:(open_append_data, _parse_open_append_d\
ata), 0x90:(request_first_module, _parse_request_module), 0x91:(reques\
...