Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module USB : sig ... end
val close : 'a conn -> unit
type error =
| No_more_handles
| No_space
| No_more_files
| EOF_expected
| Not_a_linear_file
| No_linear_space
| Undefined_error
| File_is_busy
| No_write_buffers
| Append_not_possible
| File_is_full
| File_exists
| Module_not_found
| Out_of_boundary
| Illegal_file_name
| Pending
| Empty_mailbox
| Failed
| Unknown
| Insane
| Out_of_range
| Bus_error
| Buffer_full
| Invalid_conn
| Busy_conn
| No_program
| Bad_size
| Bad_mailbox
| Bad_field
| Bad_io
| Out_of_memory
| Bad_arg
exception Error of error
module Program : sig ... end
module Motor : sig ... end
module Sensor : sig ... end
module Sound : sig ... end
module Message : sig ... end
val open_in : 'a conn -> string -> 'a in_channel
val in_channel_length : 'a in_channel -> int
val close_in : 'a in_channel -> unit
val input : 'a in_channel -> string -> int -> int -> int
val open_out : 'a conn -> out_flag -> string -> 'a out_channel
val close_out : 'a out_channel -> unit
val output : 'a out_channel -> string -> int -> int -> int
val remove : 'a conn -> string -> unit
module Find : sig ... end
val firmware_version : 'a conn -> int * int * int * int
val set_brick_name : ?check_status:bool -> 'a conn -> string -> unit
val get_device_info : 'a conn -> brick_info
val keep_alive : 'a conn -> int
val battery_level : 'a conn -> int
val delete_user_flash : 'a conn -> unit
val poll_length : 'a conn -> [ `High_speed_buffer | `Poll_buffer ] -> int
val poll_command :
'a conn ->
[ `High_speed_buffer | `Poll_buffer ] ->
int ->
int * string