[jira] [Updated] (MYNEWT-758) BLE Host - OOB security for SC

2017-06-16 Thread Szymon Janc (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYNEWT-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szymon Janc updated MYNEWT-758:
---
Fix Version/s: (was: v1_1_0_rel)
   v1_2_0_rel

> BLE Host - OOB security for SC
> --
>
> Key: MYNEWT-758
> URL: https://issues.apache.org/jira/browse/MYNEWT-758
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Christopher Collins
>Assignee: Szymon Janc
> Fix For: v1_2_0_rel
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (MYNEWT-766) LE Periodic scanning

2017-06-16 Thread Szymon Janc (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYNEWT-766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szymon Janc updated MYNEWT-766:
---
Fix Version/s: (was: v1_1_0_rel)
   v1_2_0_rel

> LE Periodic scanning
> 
>
> Key: MYNEWT-766
> URL: https://issues.apache.org/jira/browse/MYNEWT-766
> Project: Mynewt
>  Issue Type: Sub-task
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Szymon Janc
>Assignee: Łukasz Rymanowski
> Fix For: v1_2_0_rel
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (MYNEWT-716) LE Periodic Advertising

2017-06-16 Thread Szymon Janc (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYNEWT-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szymon Janc updated MYNEWT-716:
---
Fix Version/s: (was: v1_1_0_rel)
   v1_2_0_rel

>  LE Periodic Advertising
> 
>
> Key: MYNEWT-716
> URL: https://issues.apache.org/jira/browse/MYNEWT-716
> Project: Mynewt
>  Issue Type: Sub-task
>  Security Level: Public(Viewable by anyone) 
>  Components: ble, Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
> Fix For: v1_2_0_rel
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (MYNEWT-716) LE Periodic Advertising

2017-06-01 Thread Szymon Janc (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYNEWT-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szymon Janc reassigned MYNEWT-716:
--

Assignee: Szymon Janc

>  LE Periodic Advertising
> 
>
> Key: MYNEWT-716
> URL: https://issues.apache.org/jira/browse/MYNEWT-716
> Project: Mynewt
>  Issue Type: Sub-task
>  Security Level: Public(Viewable by anyone) 
>  Components: ble, Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
> Fix For: v1_1_0_rel
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (MYNEWT-766) LE Periodic scanning

2017-05-26 Thread Szymon Janc (JIRA)
Szymon Janc created MYNEWT-766:
--

 Summary: LE Periodic scanning
 Key: MYNEWT-766
 URL: https://issues.apache.org/jira/browse/MYNEWT-766
 Project: Mynewt
  Issue Type: Sub-task
  Security Level: Public (Viewable by anyone)
  Components: Nimble
Reporter: Szymon Janc
Assignee: Łukasz Rymanowski
 Fix For: v1_1_0_rel






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (MYNEWT-705) Support for Channel Selection Algorithm #2

2017-04-25 Thread Szymon Janc (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYNEWT-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szymon Janc resolved MYNEWT-705.

Resolution: Fixed

> Support for Channel Selection Algorithm #2
> --
>
> Key: MYNEWT-705
> URL: https://issues.apache.org/jira/browse/MYNEWT-705
> Project: Mynewt
>  Issue Type: Sub-task
>  Components: ble, Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (MYNEWT-716) LE Periodic Advertising

2017-04-07 Thread Szymon Janc (JIRA)
Szymon Janc created MYNEWT-716:
--

 Summary:  LE Periodic Advertising
 Key: MYNEWT-716
 URL: https://issues.apache.org/jira/browse/MYNEWT-716
 Project: Mynewt
  Issue Type: Sub-task
  Components: ble, Nimble
Reporter: Szymon Janc






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (MYNEWT-715) LE Extended Advertising

2017-04-07 Thread Szymon Janc (JIRA)
Szymon Janc created MYNEWT-715:
--

 Summary:  LE Extended Advertising
 Key: MYNEWT-715
 URL: https://issues.apache.org/jira/browse/MYNEWT-715
 Project: Mynewt
  Issue Type: Sub-task
  Components: ble, Nimble
Reporter: Szymon Janc






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (MYNEWT-705) Support for Channel Selection Algorithm #2

2017-04-07 Thread Szymon Janc (JIRA)

[ 
https://issues.apache.org/jira/browse/MYNEWT-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15960544#comment-15960544
 ] 

Szymon Janc commented on MYNEWT-705:


https://github.com/apache/incubator-mynewt-core/pull/224

> Support for Channel Selection Algorithm #2
> --
>
> Key: MYNEWT-705
> URL: https://issues.apache.org/jira/browse/MYNEWT-705
> Project: Mynewt
>  Issue Type: Sub-task
>  Components: ble, Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (MYNEWT-705) Support for Channel Selection Algorithm #2

2017-04-07 Thread Szymon Janc (JIRA)

[ 
https://issues.apache.org/jira/browse/MYNEWT-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15960545#comment-15960545
 ] 

Szymon Janc commented on MYNEWT-705:


https://github.com/apache/incubator-mynewt-core/pull/224

> Support for Channel Selection Algorithm #2
> --
>
> Key: MYNEWT-705
> URL: https://issues.apache.org/jira/browse/MYNEWT-705
> Project: Mynewt
>  Issue Type: Sub-task
>  Components: ble, Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (MYNEWT-514) Improvde BT SM robustness

2017-03-13 Thread Szymon Janc (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYNEWT-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szymon Janc reassigned MYNEWT-514:
--

Assignee: Szymon Janc

> Improvde BT SM robustness
> -
>
> Key: MYNEWT-514
> URL: https://issues.apache.org/jira/browse/MYNEWT-514
> Project: Mynewt
>  Issue Type: Improvement
>  Components: ble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
>Priority: Minor
>
> Currently SM code doesn't verify correctness of remote data being received. 
> This can lead to undefined behavior (eg invalid memory read) if remote 
> misbehave.
> In general all incoming data should be verified for minimal length before 
> being parsed on RX path.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (MYNEWT-514) Improvde BT SM robustness

2017-03-13 Thread Szymon Janc (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYNEWT-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szymon Janc resolved MYNEWT-514.

Resolution: Fixed

> Improvde BT SM robustness
> -
>
> Key: MYNEWT-514
> URL: https://issues.apache.org/jira/browse/MYNEWT-514
> Project: Mynewt
>  Issue Type: Improvement
>  Components: ble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
>Priority: Minor
>
> Currently SM code doesn't verify correctness of remote data being received. 
> This can lead to undefined behavior (eg invalid memory read) if remote 
> misbehave.
> In general all incoming data should be verified for minimal length before 
> being parsed on RX path.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (MYNEWT-659) Bluetooth 5 support

2017-03-08 Thread Szymon Janc (JIRA)
Szymon Janc created MYNEWT-659:
--

 Summary: Bluetooth 5 support
 Key: MYNEWT-659
 URL: https://issues.apache.org/jira/browse/MYNEWT-659
 Project: Mynewt
  Issue Type: New Feature
  Components: ble, Nimble
Reporter: Szymon Janc


Bluetooth 5 specifications was released December 2016 and we should start 
adding new features from it.

Relevant new features include (and if related for controller, host or both):
- LE Advertising Extensions  [controller and host]
- Privacy Erratas [controller and host]
- 2 Mbit for LE  [controller and host, new PHY required - nRF52840 should do)]
- LE Channel Selection Algorithm #2 [controller]
- LE Long Range [controller and host, new PHY required - nRF52840 should do)]
- High Duty Cycle Non-Connectable Advertising [controller and host]

I put them in tentative (based on strong feelings:) importance order.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (MYNEWT-634) blecent ble_gap_connect failing with rc 21

2017-02-28 Thread Szymon Janc (JIRA)

 [ 
https://issues.apache.org/jira/browse/MYNEWT-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szymon Janc reassigned MYNEWT-634:
--

Assignee: Szymon Janc  (was: Christopher Collins)

> blecent ble_gap_connect failing with rc 21
> --
>
> Key: MYNEWT-634
> URL: https://issues.apache.org/jira/browse/MYNEWT-634
> Project: Mynewt
>  Issue Type: Bug
>  Components: Nimble
>Affects Versions: v1_0_0_beta2
>Reporter: Jacob
>Assignee: Szymon Janc
> Fix For: v1_0_0_rel
>
>
> blecent ble_gap_connect used to work with my heartrate device but is now 
> failing with rc 21
> Tracked back to  ble_hs_id_addr
>│156 if (memcmp(id_addr, ble_hs_misc_null_addr, 6) == 0) {
>│157 return BLE_HS_ENOADDR;
>│158 }
> (gdb) p id_addr_type
> $8 = 0 '\000'
> (gdb) p ble_hs_id_pub
> $9 = "\000\000\000\000\000"
> (gdb) p ble_hs_misc_null_addr
> $3 = "\000\000\000\000\000"
> (gdb) p *id_addr
> $5 = 0 '\000'
> (gdb) set $foo = memcmp(id_addr, ble_hs_misc_null_addr, 6)
> (gdb) p $foo
> $6 = 0
> There was some recent address changes I dont currently understand, maybe that 
> has to do with it?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (MYNEWT-515) Use packed structures for PDUs in BT Security Manager

2016-12-18 Thread Szymon Janc (JIRA)
Szymon Janc created MYNEWT-515:
--

 Summary: Use packed structures for PDUs in BT Security Manager
 Key: MYNEWT-515
 URL: https://issues.apache.org/jira/browse/MYNEWT-515
 Project: Mynewt
  Issue Type: Improvement
  Components: ble
Reporter: Szymon Janc
Priority: Minor


For describing protocol SM PDUs we could use packed structs instead of 
operating on raw bytes. This improved code readability but also allows for 
simpler parsing where pointers can be casted to buffer with received data 
instead of dedicated parsing functions.  Packed structs can also be used in TX 
path where constructing PDUs is done in similar manner instead of byte-by-byte 
construction with helper function.

This could be done also for others protocols if this proposal is accepted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (MYNEWT-514) Improvde BT SM rbustness

2016-12-18 Thread Szymon Janc (JIRA)
Szymon Janc created MYNEWT-514:
--

 Summary: Improvde BT SM rbustness
 Key: MYNEWT-514
 URL: https://issues.apache.org/jira/browse/MYNEWT-514
 Project: Mynewt
  Issue Type: Improvement
  Components: ble
Reporter: Szymon Janc
Priority: Minor


Currently SM code doesn't verify correctness of remote data being received. 
This can lead to undefined behavior (eg invalid memory read) if remote 
misbehave.

In general all incoming data should be verified for minimal length before being 
parsed on RX path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)