Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Physicaloid Library Sample Projects

PhysicaloidTest

  • test project for me

tutorial1 : how to use open/close/read/write

tutorial1

  • add to AndroidManifest.xml
  • create a new instance
  • open a device
  • close the device
  • read from the device to a buffer and get read size
  • write a buffer to the device

tutorial2 : how to use upload

tutorial

  • set board type and assets file.
  • copy .hex file to porject_dir/assets directory.

tutorial3 : how to use read/upload callbacks

tutorial

  • add read callback
  • clear read callback
  • create upload callback
  • set upload callback

tutorial4 : how to change UART configures

tutorial

  • set only baudrate
  • set uart configurations

tutorial5 : how to discover when user attach USB and open automatically

tutorial

  • register intent filtered actions for device being attached or detached
  • unregister the intent filtered actions
  • get intent when a USB device attached
  • get intent when a USB device detached
  • add usb device attached intent
  • add device filter for usb device being attached
  • add launchMode singleTask not to run multiple apps
  • create rex/xml/device_filter.xml