incubator-mynewt-newtmgr git commit: nmxact - misc cleanup.

2017-04-10 Thread ccollins
Repository: incubator-mynewt-newtmgr Updated Branches: refs/heads/master 6c9269d72 -> e5dcf07e4 nmxact - misc cleanup. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newtmgr/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newtmgr/commit/e5dcf07e Tree:

[10/11] incubator-mynewt-core git commit: nimble/l2cap: Fix hs locking issue when sending le_credit_update

2017-04-10 Thread ccollins
nimble/l2cap: Fix hs locking issue when sending le_credit_update Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/0b3ea953 Tree:

[11/11] incubator-mynewt-core git commit: This closes #206.

2017-04-10 Thread ccollins
This closes #206. Merge remote-tracking branch 'rymanluk/fix_l2cap_coc_locking' * rymanluk/fix_l2cap_coc_locking: nimble/l2cap: Add PTS instructions for LE CoC and run all the testcases nimble/pts: Update pts files due to L2CAP LE CoC nimble/l2cap: Add initial unit tests for LE CoC

[09/11] incubator-mynewt-core git commit: nimble/l2cap: Fix locking on incoming LE CoC connect request

2017-04-10 Thread ccollins
nimble/l2cap: Fix locking on incoming LE CoC connect request Just use lock when retrieve or add channel to conn object. Without this patch there is a locking issue when ble_l2cap_recv_read() is called on BLE_L2CAP_EVENT_COC_ACCEPT Issue found during unit test writing for LE CoC Project:

[08/11] incubator-mynewt-core git commit: nimble/l2cap: Add initial unit tests for LE CoC

2017-04-10 Thread ccollins
nimble/l2cap: Add initial unit tests for LE CoC Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/082d066e Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/082d066e Diff:

[06/11] incubator-mynewt-core git commit: nimble/l2cap: Fix locking on LE CoC connect

2017-04-10 Thread ccollins
nimble/l2cap: Fix locking on LE CoC connect Make sure to do hs unlock before ble_l2cap_sig_tx() as this function does it's own locking. Found during writing unit test for LE CoC Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[05/11] incubator-mynewt-core git commit: nimble/l2cap: Fix locking when receiving LE CoC credit update

2017-04-10 Thread ccollins
nimble/l2cap: Fix locking when receiving LE CoC credit update Lets remove lock once we have conn and chan. Functions ble_l2cap_coc_continue_tx() and ble_l2cap_sig_disconnect() do own locking when needed, Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[2/2] incubator-mynewt-core git commit: This closes #223.

2017-04-10 Thread ccollins
This closes #223. Merge remote-tracking branch 'spoonofpower/testsuite_name' * spoonofpower/testsuite_name: Log testsuite name and keep valid json when truncating Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[1/2] incubator-mynewt-newtmgr git commit: nmxact - ble_dual example: open+close on each tx.

2017-04-10 Thread ccollins
Repository: incubator-mynewt-newtmgr Updated Branches: refs/heads/master 0f1365665 -> 6c9269d72 nmxact - ble_dual example: open+close on each tx. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newtmgr/repo Commit:

[2/2] incubator-mynewt-core git commit: This closes #225.

2017-04-10 Thread marko
This closes #225. Merge branch 'nrf51-bsp-fixes' of https://github.com/jacobrosenthal/incubator-mynewt-core Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/b8a35497 Tree:

[1/2] incubator-mynewt-core git commit: nrf51 bsp fixes from discussion https://github.com/apache/incubator-mynewt-core/pull/198/files

2017-04-10 Thread marko
Repository: incubator-mynewt-core Updated Branches: refs/heads/master 95935c62c -> b8a354970 nrf51 bsp fixes from discussion https://github.com/apache/incubator-mynewt-core/pull/198/files Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[16/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Execute Write Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Execute Write Request This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/d74cc3ee

[23/50] incubator-mynewt-core git commit: nimble/att: Fix no responding with error for invalid data

2017-04-10 Thread andk
nimble/att: Fix no responding with error for invalid data We should always responde to avoid stalling ATT channel. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/f6800fc7 Tree:

[48/50] incubator-mynewt-core git commit: nimble/l2cap: Use endian.h API for protocol data

2017-04-10 Thread andk
nimble/l2cap: Use endian.h API for protocol data Don't use TOFROMLE16 API for protocol data. This API hide direction of convertion making code hard to follow. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[13/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Read By Group Type Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Read By Group Type Request This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[03/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending MTU exchange

2017-04-10 Thread andk
nimble/att: Use new helpers for sending MTU exchange This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/55b8a5c2 Tree:

[09/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending read command

2017-04-10 Thread andk
nimble/att: Use new helpers for sending read command This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/58743be0 Tree:

[34/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving MTU exchange

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving MTU exchange Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[14/50] incubator-mynewt-core git commit: nimble/att: Don't pass Error Responce as packed structure

2017-04-10 Thread andk
nimble/att: Don't pass Error Responce as packed structure Use packed structure only for mapping it onto received mbuf. Data is passed to upper layers in native form. This allows compiler to generate more effective code with regards to unaligned access. Project:

[42/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Execute Write Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Execute Write Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo

[04/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Error Response

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Error Response Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo

[15/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Indication

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Indication This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/8dbabc6e Tree:

[41/50] incubator-mynewt-core git commit: nimble/sm: Use endian.h API for protocol data

2017-04-10 Thread andk
nimble/sm: Use endian.h API for protocol data Don't use TOFROMLE16 API for protocol data. This API hide direction of convertion making code hard to follow. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[06/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Write Request and Command

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Write Request and Command This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[49/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Indication

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Indication Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[12/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Find Information Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Find Information Request This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[29/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Read Multiple Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Read Multiple Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo

[28/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Read Blob Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Read Blob Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo

[08/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Read Blob Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Read Blob Request This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/090f62b7

[30/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Read Blob Response

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Read Blob Response Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo

[33/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Read Multiple Response

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Read Multiple Response Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project:

[20/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving MTU Exchange

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving MTU Exchange Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[45/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Write Command

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Write Command Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[02/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending error response

2017-04-10 Thread andk
nimble/att: Use new helpers for sending error response This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/b50707b6 Tree:

[10/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Read Multiple Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Read Multiple Request This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/ab237659

[46/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Write Request and Command

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Write Request and Command Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project:

[35/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Execute Write Response

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Execute Write Response Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project:

[50/50] incubator-mynewt-core git commit: This closes #215.

2017-04-10 Thread andk
This closes #215. Merge branch 'att' of https://github.com/sjanc/incubator-mynewt-core into master Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/95935c62 Tree:

[39/50] incubator-mynewt-core git commit: nimble/att: Use endian.h API for protocol data

2017-04-10 Thread andk
nimble/att: Use endian.h API for protocol data Don't use TOFROMLE16 API for protocol data. This API hide direction of convertion making code hard to follow. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[25/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Read By Type Response

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Read By Type Response Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo

[18/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Notification

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Notification This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/504e0e13 Tree:

[11/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Find By Type Value Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Find By Type Value Request This constructs response directly on mbuf reducing number of memcopies. read Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[31/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Read By Group Type Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Read By Group Type Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project:

[21/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Find Information Response

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Find Information Response Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project:

[37/50] incubator-mynewt-core git commit: nimble/att: Strip common ATT header before passing buf to handlers

2017-04-10 Thread andk
nimble/att: Strip common ATT header before passing buf to handlers This reduce code size and move common part in single place. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/d458bb8c Tree:

[43/50] incubator-mynewt-core git commit: nimble: Remove ble_hs_endian_priv.h API

2017-04-10 Thread andk
nimble: Remove ble_hs_endian_priv.h API This API is no longer used and so/endian.h should be used instead. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/dccf07dc Tree:

[17/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Prepare Write Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Prepare Write Request This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/d290cd7e

[44/50] incubator-mynewt-core git commit: nimble/l2cap: Remove some dead code

2017-04-10 Thread andk
nimble/l2cap: Remove some dead code Those functions are not used anymore. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/fd6c58a8 Tree:

[36/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Prepare Write Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Prepare Write Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo