[
https://issues.apache.org/jira/browse/MYNEWT-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143463#comment-15143463
]
Christopher Collins commented on MYNEWT-21:
-------------------------------------------
h3. GATT
* Exchange MTU
** {{b mtu}}
* Discover All Primary Services
** {{b disc svc conn=x}}
* Discover Primary Services By Service UUID
** {{b disc svc conn=x uuid=x}}
* Find Included Services
** {{b find inc_svcs conn=x start=x end=x}}
* Discover All Characteristic of a Service
** {{b disc chr conn=x start=x end=x}}
* Discover Characteristic by UUID
** {{b disc chr conn=x start=x end=x uuid=x}}
* Discover All Characteristic Descriptors
** {{b disc dsc conn=x start=x end=x}}
* Read Characteristic Value
** {{b read conn=x attr=x}}
* Read Using Characteristic UUID
** {{b read conn=x start=x end=x uuid=x}}
* Read Long Characteristic Values
** {{b read conn=x attr=x long=1}}
* Read Multiple Characteristic Values
** {{b read conn=x attr=x attr=y attr=z}}
* Write Without Response
** {{b write conn=x value=0xXX:0xXX no_rsp=1}}
* Signed Write Without Response
** UNSUPPORTED
* Write Characteristic Value
** {{b write conn=x attr=x value=0xXX:0xXX}}
* Write Long Characteristic Values
** {{b write conn=x attr=x value=0xXX:0xXX long=1}}
* Characteristic Value Reliable Writes
** {{b write conn=x attr=x value=0xXX:0xXX attr=y value=0xYY:0xYY}}
* Notifications
** (write client configuration characteristic)
* Indications
** (write client configuration characteristic)
* Read Characteristic Descriptors
** {{b read conn=x attr=x}}
* Read Long Characteristic Descriptors
** {{b read conn=x attr=x long=x}}
* Write Characteristic Descriptors
** {{b write conn=x value=0xXX:0xXX}}
* Write Long Characteristic Descriptors
** {{b write conn=x value=0xXX:0xXX long=1}}
h3. GAP
* Broadcast Mode
** {{b adv conn=non disc=x}}
* Observation Procedure
** {{b scan dur=x disc=x type=x filt=x}}
* Non-Discoverable Mode
** {{b adv conn=x disc=non}}
* Limited Discoverable Mode
** {{b adv conn=x disc=ltd}}
* General Discoverable Mode
** {{b adv conn=x disc=gen}}
* Limited Discovery Procedure
** {{b scan dur=x disc=ltd type=active filt=no_wl}}
* General Discovery Procedure
** {{b scan dur=x disc=gen type=active filt=no_wl}}
* Name Discovery Procedure
** UNSUPPORTED (as a single command).
* Non-Connectable Mode
** {{b adv conn=non disc=x}}
* Directed Connectable Mode
** {{b adv conn=dir disc=x addr_type=x addr=x}}
* Undirected Connectable Mode
** {{b adv conn=und disc=x}}
* Auto Connection Establishment Procedure
** {{b wl addr_type=x addr=x}}
** {{b conn addr_type=wl}}
* General Connection Establishment Procedure
** TODO
* Selective Connection Establishment Procedure
** TODO
* Direct Connection Establishment Procedure
** {{b conn addr_type=x addr=x \[params\]}}
* Connection Parameter Update Procedure
** {{b update conn=x <params>}}
* Terminate Connection Procedure
** {{b term conn=x}}
h3. MISC
* Show established connections
** {{b show conn}}
* Show discovered services
** {{b show svc}}
* Show discovered characteristics
** {{b show chr}}
* Show connection RSSI
** {{b show rssi conn=x}}
h3. Connection parameters:
* scan_itvl (connect only)
* scan_window (connect only)
* itvl_min
* itvl_max
* latency
* timeout
* min_ce_len
* max_ce_len
h3. Advertisement data fields:
* uuids16
* uuids16_is_complete
* uuids32
* uuids32_is_complete
* uuids128
* uuids128_is_complete
* tx_pwr_lvl
* device_class
* slave_itvl_range
* svc_data_uuid16
* public_tgt_addr
* appearance
* adv_itvl
* le_addr
* le_role
* svc_data_uuid32
* svc_data_uuid128
* uri
* mfg_data
> Need Example BLE projects To Demonstrate how to use Nimble stack
> ----------------------------------------------------------------
>
> Key: MYNEWT-21
> URL: https://issues.apache.org/jira/browse/MYNEWT-21
> Project: Mynewt
> Issue Type: Improvement
> Components: Nimble
> Reporter: Sterling Hughes
> Assignee: Christopher Collins
> Fix For: v0_8_0_beta1
>
>
> I think we need two example projects:
> - Cleaned up bleshell
> - This will allow people to play with the bluetooth stack, and have
> exhaustive examples on using it
> - Basic Bluetooth Device
> - A basic bluetooth endpoint that creates a service, and provides a set of
> characteristics to a mobile phone
> - Optional newtmgr support compiled in
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)