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

2017-10-13 Thread Szymon Janc (JIRA)

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

Szymon Janc closed MYNEWT-515.
--

> 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
>  Security Level: Public(Viewable by anyone) 
>  Components: ble
>Reporter: Szymon Janc
>Assignee: 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.4.14#64029)


[jira] [Assigned] (MYNEWT-817) BT5 Extended Advertising chaining support

2017-10-13 Thread Szymon Janc (JIRA)

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

Szymon Janc reassigned MYNEWT-817:
--

Assignee: Andrzej Kaczmarek  (was: Szymon Janc)

> BT5 Extended Advertising chaining support
> -
>
> Key: MYNEWT-817
> URL: https://issues.apache.org/jira/browse/MYNEWT-817
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Szymon Janc
>Assignee: Andrzej Kaczmarek
> Fix For: v1_3_0_rel
>
>




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


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

2017-10-13 Thread Szymon Janc (JIRA)

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

Szymon Janc closed MYNEWT-514.
--

> Improvde BT SM robustness
> -
>
> Key: MYNEWT-514
> URL: https://issues.apache.org/jira/browse/MYNEWT-514
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  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.4.14#64029)


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

2017-10-13 Thread Szymon Janc (JIRA)

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

Szymon Janc closed MYNEWT-659.
--

> Bluetooth 5 support
> ---
>
> Key: MYNEWT-659
> URL: https://issues.apache.org/jira/browse/MYNEWT-659
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>  Components: ble, Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
> Fix For: v1_1_0_rel
>
>
> 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 Channel Selection Algorithm #2 [controller]
> - 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 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.4.14#64029)


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

2017-10-13 Thread Szymon Janc (JIRA)

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

Szymon Janc closed MYNEWT-715.
--

>  LE Extended Advertising
> 
>
> Key: MYNEWT-715
> URL: https://issues.apache.org/jira/browse/MYNEWT-715
> 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.4.14#64029)


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

2017-10-13 Thread Szymon Janc (JIRA)

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

Szymon Janc closed MYNEWT-705.
--

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




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


[jira] [Closed] (MYNEWT-830) update mbedTLS to 2.5.1

2017-10-13 Thread Szymon Janc (JIRA)

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

Szymon Janc closed MYNEWT-830.
--

> update mbedTLS to 2.5.1
> ---
>
> Key: MYNEWT-830
> URL: https://issues.apache.org/jira/browse/MYNEWT-830
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>Reporter: Szymon Janc
>Assignee: Szymon Janc
> Fix For: v1_3_0_rel
>
>




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


[jira] [Closed] (MYNEWT-819) Address resolving is broken on nRF51

2017-10-13 Thread Szymon Janc (JIRA)

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

Szymon Janc closed MYNEWT-819.
--

> Address resolving is broken on nRF51
> 
>
> Key: MYNEWT-819
> URL: https://issues.apache.org/jira/browse/MYNEWT-819
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>Reporter: Szymon Janc
>Assignee: Andrzej Kaczmarek
>Priority: Blocker
> Fix For: v1_1_0_rel
>
>
> https://github.com/apache/mynewt-core/pull/464 fixes similar issue on nRF52 
> but nRF51 is affected  too.



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


[jira] [Closed] (MYNEWT-825) Update TinyCrypt to 0.2.8

2017-10-13 Thread Szymon Janc (JIRA)

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

Szymon Janc closed MYNEWT-825.
--

> Update TinyCrypt to 0.2.8
> -
>
> Key: MYNEWT-825
> URL: https://issues.apache.org/jira/browse/MYNEWT-825
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Szymon Janc
>Assignee: Szymon Janc
> Fix For: v1_3_0_rel
>
>
> TinyCrypt got some performance improvements in latest versions (important for 
> LE SC on nRF51) and we should utilize those.



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


[jira] [Updated] (MYNEWT-846) Host support for Extended Advertising

2017-11-15 Thread Szymon Janc (JIRA)

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

Szymon Janc updated MYNEWT-846:
---
Fix Version/s: v1_3_0_rel

> Host support for Extended Advertising
> -
>
> Key: MYNEWT-846
> URL: https://issues.apache.org/jira/browse/MYNEWT-846
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
> Fix For: v1_3_0_rel
>
>
> This should include:
>  - multi advertising support
>  - PHY selection
>  - support for large advertising data (up to 1650 bytes)



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


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

2017-11-15 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_3_0_rel)
   v1_4_0_rel

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




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


[jira] [Commented] (MYNEWT-846) Host support for Extended Advertising

2017-11-21 Thread Szymon Janc (JIRA)

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

Szymon Janc commented on MYNEWT-846:


https://github.com/apache/mynewt-core/pull/671

> Host support for Extended Advertising
> -
>
> Key: MYNEWT-846
> URL: https://issues.apache.org/jira/browse/MYNEWT-846
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
> Fix For: v1_3_0_rel
>
>
> This should include:
>  - multi advertising support
>  - PHY selection
>  - support for large advertising data (up to 1650 bytes)



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


[jira] [Resolved] (MYNEWT-846) Host support for Extended Advertising

2017-11-23 Thread Szymon Janc (JIRA)

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

Szymon Janc resolved MYNEWT-846.

Resolution: Fixed

> Host support for Extended Advertising
> -
>
> Key: MYNEWT-846
> URL: https://issues.apache.org/jira/browse/MYNEWT-846
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
> Fix For: v1_3_0_rel
>
>
> This should include:
>  - multi advertising support
>  - PHY selection
>  - support for large advertising data (up to 1650 bytes)



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


[jira] [Closed] (MYNEWT-846) Host support for Extended Advertising

2017-11-23 Thread Szymon Janc (JIRA)

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

Szymon Janc closed MYNEWT-846.
--

> Host support for Extended Advertising
> -
>
> Key: MYNEWT-846
> URL: https://issues.apache.org/jira/browse/MYNEWT-846
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
> Fix For: v1_3_0_rel
>
>
> This should include:
>  - multi advertising support
>  - PHY selection
>  - support for large advertising data (up to 1650 bytes)



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


[jira] [Commented] (MYNEWT-855) Add support for having TargetA address in EXT ADV IND

2017-11-30 Thread Szymon Janc (JIRA)

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

Szymon Janc commented on MYNEWT-855:


this is needed only for scanner

> Add support for having TargetA address in EXT ADV IND
> -
>
> Key: MYNEWT-855
> URL: https://issues.apache.org/jira/browse/MYNEWT-855
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Assignee: Łukasz Rymanowski
>Priority: Minor
> Fix For: v1_4_0_rel
>
>
> For "Non-Connectable and Non-Scannable Directed with auxiliary packet" 
> TargetA can be already in EXT ADV IND.
> Need to add support for that



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


[jira] [Created] (MYNEWT-871) Fix DLE parameters handling in LL and HCI

2017-11-30 Thread Szymon Janc (JIRA)
Szymon Janc created MYNEWT-871:
--

 Summary: Fix DLE parameters handling in LL and HCI
 Key: MYNEWT-871
 URL: https://issues.apache.org/jira/browse/MYNEWT-871
 Project: Mynewt
  Issue Type: Bug
  Security Level: Public (Viewable by anyone)
Reporter: Szymon Janc
Assignee: Andrzej Kaczmarek


< HCI Command: LE Write Suggested Default Data Length (0x08|0x0024) plen 4  

   #31 19.433342
TX octets: 251
TX time: 17040
> HCI Event: Command Complete (0x0e) plen 4 
>   
>  #32 19.434287
  LE Write Suggested Default Data Length (0x08|0x0024) ncmd 1
Status: Invalid HCI Command Parameters (0x12)




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


[jira] [Updated] (MYNEWT-871) Fix DLE parameters handling in LL and HCI

2017-11-30 Thread Szymon Janc (JIRA)

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

Szymon Janc updated MYNEWT-871:
---
Description: 
This is affecting blehci running under Linux host.

< HCI Command: LE Write Suggested Default Data Length (0x08|0x0024) plen 4  
   #31 19.433342
TX octets: 251
TX time: 17040
> HCI Event: Command Complete (0x0e) plen 4 
>  #32 19.434287
  LE Write Suggested Default Data Length (0x08|0x0024) ncmd 1
Status: Invalid HCI Command Parameters (0x12)


  was:
< HCI Command: LE Write Suggested Default Data Length (0x08|0x0024) plen 4  

   #31 19.433342
TX octets: 251
TX time: 17040
> HCI Event: Command Complete (0x0e) plen 4 
>   
>  #32 19.434287
  LE Write Suggested Default Data Length (0x08|0x0024) ncmd 1
Status: Invalid HCI Command Parameters (0x12)



> Fix DLE parameters handling in LL and HCI
> -
>
> Key: MYNEWT-871
> URL: https://issues.apache.org/jira/browse/MYNEWT-871
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>Reporter: Szymon Janc
>Assignee: Andrzej Kaczmarek
>
> This is affecting blehci running under Linux host.
> < HCI Command: LE Write Suggested Default Data Length (0x08|0x0024) plen 4
>  #31 19.433342
> TX octets: 251
> TX time: 17040
> > HCI Event: Command Complete (0x0e) plen 4   
> >#32 19.434287
>   LE Write Suggested Default Data Length (0x08|0x0024) ncmd 1
> Status: Invalid HCI Command Parameters (0x12)



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


[jira] [Created] (MYNEWT-880) update sample apps with ext adv

2018-01-01 Thread Szymon Janc (JIRA)
Szymon Janc created MYNEWT-880:
--

 Summary: update sample apps with ext adv
 Key: MYNEWT-880
 URL: https://issues.apache.org/jira/browse/MYNEWT-880
 Project: Mynewt
  Issue Type: Improvement
  Security Level: Public (Viewable by anyone)
Reporter: Szymon Janc
Assignee: Szymon Janc
Priority: Minor


Add support for ext adv API in bleprph sample.



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


[jira] [Assigned] (MYNEWT-887) Sending multiple notifications in short time result in notifications getting lost

2018-02-21 Thread Szymon Janc (JIRA)

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

Szymon Janc reassigned MYNEWT-887:
--

Assignee: Szymon Janc

> Sending multiple notifications in short time result in notifications getting 
> lost
> -
>
> Key: MYNEWT-887
> URL: https://issues.apache.org/jira/browse/MYNEWT-887
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Izidor Makuc
>Assignee: Szymon Janc
>Priority: Critical
>  Labels: NimBLE
>
> when I send notifications (with ble_gattc_notify) in tight loop only some of 
> them are sent.
> This was observed when I was trying to send 30 notifications per second. I 
> only receive around 8 from them every second.
> The problem was reproduced by the slack user sjanc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (MYNEWT-887) Sending multiple notifications in short time result in notifications getting lost

2018-02-21 Thread Szymon Janc (JIRA)

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

Szymon Janc reassigned MYNEWT-887:
--

Assignee: Andrzej Kaczmarek  (was: Szymon Janc)

> Sending multiple notifications in short time result in notifications getting 
> lost
> -
>
> Key: MYNEWT-887
> URL: https://issues.apache.org/jira/browse/MYNEWT-887
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Izidor Makuc
>Assignee: Andrzej Kaczmarek
>Priority: Critical
>  Labels: NimBLE
>
> when I send notifications (with ble_gattc_notify) in tight loop only some of 
> them are sent.
> This was observed when I was trying to send 30 notifications per second. I 
> only receive around 8 from them every second.
> The problem was reproduced by the slack user sjanc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (MYNEWT-716) BT5 LE Periodic Advertising

2021-01-29 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-716.
--

>  BT5 LE Periodic Advertising
> 
>
> Key: MYNEWT-716
> URL: https://issues.apache.org/jira/browse/MYNEWT-716
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>  Components: ble, Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
>Priority: Major
>  Labels: NimBLE
> Fix For: v1_4_0_rel
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (MYNEWT-716) BT5 LE Periodic Advertising

2021-01-29 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-716.

Resolution: Fixed

>  BT5 LE Periodic Advertising
> 
>
> Key: MYNEWT-716
> URL: https://issues.apache.org/jira/browse/MYNEWT-716
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>  Components: ble, Nimble
>Reporter: Szymon Janc
>Assignee: Szymon Janc
>Priority: Major
>  Labels: NimBLE
> Fix For: v1_4_0_rel
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Closed] (MYNEWT-551) Build failure when following the tutorial Blinky on STM32F303 Discovery

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-551.
--
Resolution: Fixed

> Build failure when following the tutorial Blinky on STM32F303 Discovery
> ---
>
> Key: MYNEWT-551
> URL: https://issues.apache.org/jira/browse/MYNEWT-551
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Documentation
>Affects Versions: v1_0_0_beta1
> Environment: macOS 10.12, native tools
>Reporter: Liviu Ionescu
>Assignee: Aditi Hilbert
>Priority: Major
>  Labels: core
>
> I tried to follow the tutorial 
> http://mynewt.apache.org/os/tutorials/STM32F303/
> newt build stmf3_blinky -v
> Building target targets/stmf3_blinky
> Error: Error reading 
> /Users/ilg/tmp/mynewt/f3disco/repos/mynewt_stm32f3/hw/bsp/stm32f3discovery/bsp.yml:
>  open : no such file or directory
> newt build stmf3_boot -v
> Building target targets/stmf3_boot
> Error: Error reading 
> /Users/ilg/tmp/mynewt/f3disco/repos/mynewt_stm32f3/hw/bsp/stm32f3discovery/bsp.yml:
>  open : no such file or directory
> ilg-mbp:f3disco ilg$ 
> Checking the original repository 
> (https://github.com/runtimeinc/mynewt_stm32f3/tree/master/hw/bsp/stm32f3discovery)
>  shows that no bsp.yml is present.
> I do not know if the problem is related to a functional problem in newt, or 
> some errors in the documentation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-850) testutil - revisit output options

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-850.
--
Resolution: Fixed

> testutil - revisit output options
> -
>
> Key: MYNEWT-850
> URL: https://issues.apache.org/jira/browse/MYNEWT-850
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Misc
>Reporter: Christopher Collins
>Priority: Major
>  Labels: core
> Fix For: v1_4_0_rel
>
>
> Options for text output during `newt test` are limited or incorrect in many 
> cases.
> 1. Provide a mechanism for miscellaneous output (e.g., intermediate 
> calculations).
> 2. Allow for a "verbose test mode" - Prints all test results and any 
> intermediate output contained in the unit tests.  This should be possible 
> without newt's `-v` option, which prints out a bunch of unrelated text.
> 3. The `ts_print_results` option in the `ts_config` struct is redundant.  We 
> should just use the pass and fail callbacks to print results.
> ...and possibly more.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-868) fs/nffs unittest crashes

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-868.
--
Resolution: Won't Fix

nffs is deprecated now

> fs/nffs unittest crashes
> 
>
> Key: MYNEWT-868
> URL: https://issues.apache.org/jira/browse/MYNEWT-868
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>Reporter: Marko Kiiskila
>Priority: Major
>  Labels: nffs
>
> set syscfg OS_MEMPOOL_POISON: 1
> [pass] nffs_test_suite/nffs_test_large_system 
> [pass] nffs_test_suite/nffs_test_lost_found 
> [FAIL] nffs_test_suite/nffs_test_readdir 
> |fs/nffs/test/src/nffs_test_utils.c:66| failed assertion: rc == 0
> [FAIL] nffs_test_suite/nffs_test_readdir 
> |fs/nffs/test/src/testcases/readdir_test.c:113| failed assertion: 
> fs_dirent_is_dir(dirent) == 1
> Error: Test failure(s):
> Passed tests: []
> Failed tests: [fs/nffs/test]
> exit status 1



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-301) nffs corrupt

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-301.
--
Resolution: Won't Fix

nffs is deprecated now

> nffs corrupt
> 
>
> Key: MYNEWT-301
> URL: https://issues.apache.org/jira/browse/MYNEWT-301
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: NFFS
>Affects Versions: v1_0_0_beta2
>Reporter: Marko Kiiskila
>Assignee: Christopher Collins
>Priority: Major
>  Labels: nffs
> Attachments: bad_arduino_nffs.bin, bad_arduino_nffs.bin2
>
>
> happened on arduino, bootloader does not come up as NFFS is asserting.
> (gdb) bt
> #0  __assert_func (file=0x742a "nffs_restore.c", line=229, func=0x0 
> <_sfixed>, 
> e=0x0 <_sfixed>) at os_fault.c:113
> #1  0x22ac in nffs_restore_find_file_ends () at nffs_restore.c:285
> #2  nffs_restore_full (area_descs=area_descs@entry=0x2000736c)
> at nffs_restore.c:1160
> #3  0x04ca in nffs_detect (area_descs=area_descs@entry=0x2000736c)
> at nffs.c:605
> #4  0x01e8 in setup_for_nffs () at boot.c:80
> #5  main () at boot.c:160
> (gdb) up



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-338) NFFS - Can't delete from a completely full file system

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-338.
--
Resolution: Won't Fix

nffs is deprecated now

> NFFS - Can't delete from a completely full file system
> --
>
> Key: MYNEWT-338
> URL: https://issues.apache.org/jira/browse/MYNEWT-338
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: NFFS
>Reporter: Christopher Collins
>Assignee: Christopher Collins
>Priority: Major
>  Labels: nffs
>
> Deleting a file or directory requires writing an inode to the disk.  If the 
> disk is completely full, there is not room for the deletion record, and the 
> delete attempt will fail with an FS_EFULL error.
> It should be sufficient to always ensure that at least one area has room for 
> a deletion record.  All deletion records are the same size.  Once a deletion 
> record is written, the previous inode entry and all children inodes or 
> constituent data blocks can be removed during garbage collection.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-814) nffs_inode_read_filename does not update out_full_len

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-814.
--
Resolution: Won't Fix

nffs is deprecated now

> nffs_inode_read_filename does not update out_full_len
> -
>
> Key: MYNEWT-814
> URL: https://issues.apache.org/jira/browse/MYNEWT-814
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: NFFS
>Reporter: hathach
>Assignee: Christopher Collins
>Priority: Major
>  Labels: nffs
>
> As title, nffs_inode_read_filename does not update out_full_len 
> https://github.com/apache/mynewt-core/blob/master/fs/nffs/src/nffs_inode.c#L749
> a simple
>  (*out_full_len) = read_len; 
> before return would fix that



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-36) Implement FS encryption in NFFS

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-36.
-
Resolution: Won't Fix

nffs is deprecated now

> Implement FS encryption in NFFS
> ---
>
> Key: MYNEWT-36
> URL: https://issues.apache.org/jira/browse/MYNEWT-36
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>  Components: NFFS
>Reporter: Sterling Hughes
>Assignee: Christopher Collins
>Priority: Major
>  Labels: nffs
>
> There should be an option to store data on a NFFS system in an encrypted 
> fashion.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-343) nffs crash at bootloader

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-343.
--
Resolution: Won't Fix

nffs is deprecated now

> nffs crash at bootloader
> 
>
> Key: MYNEWT-343
> URL: https://issues.apache.org/jira/browse/MYNEWT-343
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: NFFS
> Environment: Arduino Zero with NFFS
>Reporter: Marko Kiiskila
>Assignee: Christopher Collins
>Priority: Major
>  Labels: nffs
> Attachments: arduino_nffs.bin, nffs-inode-invalid-id.bin
>
>
> System asserts. I was switching between images.
> Program received signal SIGTRAP, Trace/breakpoint trap.
> __assert_func (file=, line=, 
> func=, e=) at os_fault.c:124
> 124  asm("bkpt");
> (gdb) bt
> #0  __assert_func (file=, line=, 
> func=, e=) at os_fault.c:124
> #1  0x105e in nffs_hash_remove (entry=entry@entry=0x20001ad8)
> at nffs_hash.c:179
> #2  0x2ff2 in nffs_block_delete_from_ram (
> block_entry=block_entry@entry=0x20001ad8) at nffs_block.c:266
> #3  0x26f2 in nffs_restore_sweep () at nffs_restore.c:353
> #4  0x283e in nffs_restore_full (area_descs=area_descs@entry=0x2000736c)
> at nffs_restore.c:1400
> #5  0x04ca in nffs_detect (area_descs=area_descs@entry=0x2000736c)
> at nffs.c:606
> #6  0x01e8 in setup_for_nffs () at boot.c:93
> #7  main () at boot.c:173



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-37) Implement FS compression in NFFS

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-37.
-
Resolution: Won't Fix

nffs is deprecated now

> Implement FS compression in NFFS
> 
>
> Key: MYNEWT-37
> URL: https://issues.apache.org/jira/browse/MYNEWT-37
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>  Components: NFFS
>Reporter: Sterling Hughes
>Assignee: Christopher Collins
>Priority: Major
>  Labels: nffs
>
> Compression should be supported in NFFS.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-38) Implement ECC correction in NFFS

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-38.
-
Resolution: Won't Fix

nffs is deprecated now

> Implement ECC correction in NFFS
> 
>
> Key: MYNEWT-38
> URL: https://issues.apache.org/jira/browse/MYNEWT-38
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>  Components: NFFS
>Reporter: Sterling Hughes
>Assignee: Christopher Collins
>Priority: Major
>  Labels: nffs
>
> Data stored in NFFS files should optionally have ECC coding applied to them 
> to correct for data corruption.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-463) Add API to lock/unlock the scheduler.

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-463.
--
Resolution: Fixed

> Add API to lock/unlock the scheduler.
> -
>
> Key: MYNEWT-463
> URL: https://issues.apache.org/jira/browse/MYNEWT-463
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: OS
>Affects Versions: v0_9_0
>Reporter: Will Sanfilippo
>Assignee: Will Sanfilippo
>Priority: Major
>  Labels: core
> Fix For: v1_4_0_rel
>
>
> The OS should have an API to lock/unlock the scheduler.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-690) Create new port for RISC-V architecture and BSP for Hifive 1

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-690.

Resolution: Fixed

> Create new port for RISC-V architecture and BSP for Hifive 1
> 
>
> Key: MYNEWT-690
> URL: https://issues.apache.org/jira/browse/MYNEWT-690
> Project: Mynewt
>  Issue Type: Task
>  Security Level: Public(Viewable by anyone) 
>  Components: BSP
>Reporter: Fabio Utzig
>Priority: Minor
>  Labels: core, gsoc2017
>
> The RISC-V architecture is a proper 100% open IP specification of CPU 
> architecture. There are now commercial boards available that use the RISC-V 
> core like the Sifive Hifive 1. Would be great adding a Mynewt port + BSP 
> targetting this board.
> Hifiv 1 board: https://dev.sifive.com/dev-kits/
> RiSC-V specs: https://riscv.org/



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-893) Add BSP support for Nordic PCA10059 usb dongle

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-893.

Resolution: Fixed

> Add BSP support for Nordic PCA10059 usb dongle
> --
>
> Key: MYNEWT-893
> URL: https://issues.apache.org/jira/browse/MYNEWT-893
> Project: Mynewt
>  Issue Type: Wish
>  Security Level: Public(Viewable by anyone) 
>  Components: BSP, Nimble
>Reporter: Heng Lou
>Priority: Major
>
> Nordic has a new USB dongle PCA10059.  It will be nice to add BSP support and 
> bootloader for this production level device.  Is there a how to in this type 
> of activity?
> Thanks!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-884) Update PTS instruction nimble/host/pts

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-884.

Resolution: Fixed

> Update PTS instruction nimble/host/pts
> --
>
> Key: MYNEWT-884
> URL: https://issues.apache.org/jira/browse/MYNEWT-884
> Project: Mynewt
>  Issue Type: Sub-task
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Priority: Major
>  Labels: NimBLE
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-817) BT5 Extended Advertising chaining support

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-817.

Resolution: Fixed

> BT5 Extended Advertising chaining support
> -
>
> Key: MYNEWT-817
> URL: https://issues.apache.org/jira/browse/MYNEWT-817
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Szymon Janc
>Assignee: Andrzej Kaczmarek
>Priority: Major
>  Labels: NimBLE
> Fix For: v1_4_0_rel
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-766) BT5 LE Periodic scanning

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-766.

Resolution: Fixed

> BT5 LE Periodic scanning
> 
>
> Key: MYNEWT-766
> URL: https://issues.apache.org/jira/browse/MYNEWT-766
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Szymon Janc
>Assignee: Łukasz Rymanowski
>Priority: Major
>  Labels: NimBLE
> Fix For: v1_4_0_rel
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-818) Nimble: connection timeout after encryption on 2M and coded PHY

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-818.

Resolution: Fixed

> Nimble: connection timeout after encryption on 2M and coded PHY
> ---
>
> Key: MYNEWT-818
> URL: https://issues.apache.org/jira/browse/MYNEWT-818
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Michał Narajowski
>Priority: Major
>  Labels: NimBLE
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-871) Fix DLE parameters handling in LL and HCI

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-871.

Resolution: Fixed

> Fix DLE parameters handling in LL and HCI
> -
>
> Key: MYNEWT-871
> URL: https://issues.apache.org/jira/browse/MYNEWT-871
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>Reporter: Szymon Janc
>Assignee: Andrzej Kaczmarek
>Priority: Major
>  Labels: NimBLE
>
> This is affecting blehci running under Linux host.
> < HCI Command: LE Write Suggested Default Data Length (0x08|0x0024) plen 4
>  #31 19.433342
> TX octets: 251
> TX time: 17040
> > HCI Event: Command Complete (0x0e) plen 4   
> >#32 19.434287
>   LE Write Suggested Default Data Length (0x08|0x0024) ncmd 1
> Status: Invalid HCI Command Parameters (0x12)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-462) Nimble controller when acting as master will send a connect request to an already connected peripheral

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-462.

Resolution: Fixed

> Nimble controller when acting as master will send a connect request to an 
> already connected peripheral
> --
>
> Key: MYNEWT-462
> URL: https://issues.apache.org/jira/browse/MYNEWT-462
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Affects Versions: v0_9_0
>Reporter: Will Sanfilippo
>Assignee: Szymon Janc
>Priority: Major
>  Labels: NimBLE
>
> The nimble controller, when acting as a master, will attempt to send a 
> connection request to a peripheral to which it is already connected. The 
> nimble controller, when acting as a peripheral, will deny the connect request 
> from a master to which it is already connected, so it is only an issue with 
> the controller when it is acting as a master.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-806) Ext advertising HCI events should be only sent when enabled in event mask

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-806.

Resolution: Fixed

> Ext advertising HCI events should be only sent when enabled in event mask
> -
>
> Key: MYNEWT-806
> URL: https://issues.apache.org/jira/browse/MYNEWT-806
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Andrzej Kaczmarek
>Priority: Major
>  Labels: NimBLE
>
> HCI events related to extended advertising are now sent no matter if host 
> enabled them or not - this should be fixed so they are only sent when 
> requested by host.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-13) NFFS does not work on STM32F3 or NXP MK64F12

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-13.
-
Resolution: Won't Fix

> NFFS does not work on STM32F3 or NXP MK64F12
> 
>
> Key: MYNEWT-13
> URL: https://issues.apache.org/jira/browse/MYNEWT-13
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: NFFS
>Reporter: Marko Kiiskila
>Assignee: Christopher Collins
>Priority: Minor
>  Labels: nffs
>
> STM32F3 flash writes are done 2 bytes at a time. MK64F12 flash alignment is 
> 8. NFFS should take into account alignment restrictions underlying storage 
> has.
> E.g. add alignment requirement in struct hal_flash. Add an HAL flash API call 
> to query this. NFFS would then use this when writing/reading blocks of data 
> from flash.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-880) update sample apps with ext adv

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-880.
--

> update sample apps with ext adv
> ---
>
> Key: MYNEWT-880
> URL: https://issues.apache.org/jira/browse/MYNEWT-880
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Szymon Janc
>Assignee: Szymon Janc
>Priority: Minor
>  Labels: NimBLE
>
> Add support for ext adv API in bleprph sample.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-871) Fix DLE parameters handling in LL and HCI

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-871.
--

> Fix DLE parameters handling in LL and HCI
> -
>
> Key: MYNEWT-871
> URL: https://issues.apache.org/jira/browse/MYNEWT-871
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>Reporter: Szymon Janc
>Assignee: Andrzej Kaczmarek
>Priority: Major
>  Labels: NimBLE
>
> This is affecting blehci running under Linux host.
> < HCI Command: LE Write Suggested Default Data Length (0x08|0x0024) plen 4
>  #31 19.433342
> TX octets: 251
> TX time: 17040
> > HCI Event: Command Complete (0x0e) plen 4   
> >#32 19.434287
>   LE Write Suggested Default Data Length (0x08|0x0024) ncmd 1
> Status: Invalid HCI Command Parameters (0x12)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-880) update sample apps with ext adv

2023-01-22 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-880.

Resolution: Fixed

> update sample apps with ext adv
> ---
>
> Key: MYNEWT-880
> URL: https://issues.apache.org/jira/browse/MYNEWT-880
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Szymon Janc
>Assignee: Szymon Janc
>Priority: Minor
>  Labels: NimBLE
>
> Add support for ext adv API in bleprph sample.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-838) Update os_callouts documentation

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-838.

Resolution: Fixed

> Update os_callouts documentation
> 
>
> Key: MYNEWT-838
> URL: https://issues.apache.org/jira/browse/MYNEWT-838
> Project: Mynewt
>  Issue Type: Improvement
>  Components: Documentation, Site
>Reporter: Miguel Azevedo
>Assignee: Miguel Azevedo
>Priority: Major
>
> Callouts documentation is not up-to-date, it still features 
> os_callout_func_init() and old os_callout_init() 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-480) Newtmgr needs version command

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-480.

Resolution: Fixed

> Newtmgr needs version command
> -
>
> Key: MYNEWT-480
> URL: https://issues.apache.org/jira/browse/MYNEWT-480
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Newtmgr
>Affects Versions: WISHLIST
>Reporter: David G. Simmons
>Assignee: Sterling Hughes
>Priority: Minor
>
> newtmgr version
> Error: unknown command "version" for "newtmgr"
> Impossible to determine what version of newtmgr you are running. For 
> consistency beteween newt, newtmgr, etc. having a version string would be 
> good. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-722) Add "Central Address Resolution characteristic" to GAP Service

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-722.

Resolution: Fixed

> Add "Central Address Resolution characteristic" to GAP Service
> --
>
> Key: MYNEWT-722
> URL: https://issues.apache.org/jira/browse/MYNEWT-722
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Assignee: Andrzej Kaczmarek
>Priority: Minor
>  Labels: NimBLE
> Fix For: v1_4_0_rel
>
>
> Once Mynewt-721 is resolved, it would be good to add Central Address 
> Resolution characteristic to GAP



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-854) Improve S2/S8 selection when using LE Coded PHY

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-854.

Resolution: Fixed

> Improve S2/S8 selection when using LE Coded PHY
> ---
>
> Key: MYNEWT-854
> URL: https://issues.apache.org/jira/browse/MYNEWT-854
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Assignee: Andrzej Kaczmarek
>Priority: Minor
>  Labels: NimBLE
> Fix For: v1_4_0_rel
>
>
> Probably would be good to follow coding scheme from master



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-855) Add support for having TargetA address in EXT ADV IND

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-855.
--
Resolution: Won't Fix

> Add support for having TargetA address in EXT ADV IND
> -
>
> Key: MYNEWT-855
> URL: https://issues.apache.org/jira/browse/MYNEWT-855
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Assignee: Łukasz Rymanowski
>Priority: Minor
>  Labels: NimBLE
> Fix For: v1_4_0_rel
>
>
> For "Non-Connectable and Non-Scannable Directed with auxiliary packet" 
> TargetA can be already in EXT ADV IND.
> Need to add support for that



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-877) newt install should clone shallow

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-877.

Resolution: Fixed

> newt install should clone shallow
> -
>
> Key: MYNEWT-877
> URL: https://issues.apache.org/jira/browse/MYNEWT-877
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: Newt
>Reporter: Jacob Rosenthal
>Assignee: Sterling Hughes
>Priority: Minor
>  Labels: Newt
>
> On an intial glance, it seems like newt install might be cloning with depth 
> one
> https://github.com/apache/mynewt-newt/commit/d8c6a397ba6859dfd192dbb91b06201e2fb74733
> but it sure takes forever and the size looks full depth
> $ newt new test
> $ cd test/
> $ newt install
> $ git count-objects -v -H
> count: 0
> size: 0 bytes
> in-pack: 75195
> packs: 1
> size-pack: 86.02 MiB
> prune-packable: 0
> garbage: 0
> size-garbage: 0 bytes
> indeed a shallow clone outside of a newt install comes in much smaller
> $ git clone --depth 1 g...@github.com:apache/mynewt-core.git
>  ...
> $ git count-objects -v -H
> count: 0
> size: 0 bytes
> in-pack: 4876
> packs: 1
> size-pack: 10.24 MiB
> prune-packable: 0
> garbage: 0
> size-garbage: 0 bytes
> I havent looked closer but perhaps newt install follows a different code path 
> that could be --depth 1 as well?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-809) Better error messages in bletiny

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-809.
--
Resolution: Won't Fix

> Better error messages in bletiny
> 
>
> Key: MYNEWT-809
> URL: https://issues.apache.org/jira/browse/MYNEWT-809
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Michał Narajowski
>Priority: Major
>  Labels: NimBLE
>
> Currently, the error message when reading attribute value looks like this:
> {noformat}
> 082914 ERROR: conn_handle=1 status=268 att_handle=35
> {noformat}
> It would be nice to have a text description of various errors, so we don't 
> have to look through the code or docs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-878) Compiler error (unused variable) for lora code when building for 868 MHz

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-878.

Resolution: Fixed

> Compiler error (unused variable) for lora code when building for 868 MHz
> 
>
> Key: MYNEWT-878
> URL: https://issues.apache.org/jira/browse/MYNEWT-878
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Misc
>Affects Versions: v1_3_0_rel
>Reporter: Will Sanfilippo
>Assignee: Will Sanfilippo
>Priority: Major
>  Labels: core
>
> Automated build needs to build regions other than US. This error was missed. 
> Just an unused variable when building for EU regions (868 MHz define).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-878) Compiler error (unused variable) for lora code when building for 868 MHz

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-878.
--

> Compiler error (unused variable) for lora code when building for 868 MHz
> 
>
> Key: MYNEWT-878
> URL: https://issues.apache.org/jira/browse/MYNEWT-878
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Misc
>Affects Versions: v1_3_0_rel
>Reporter: Will Sanfilippo
>Assignee: Will Sanfilippo
>Priority: Major
>  Labels: core
>
> Automated build needs to build regions other than US. This error was missed. 
> Just an unused variable when building for EU regions (868 MHz define).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-133) Need support for running from RAM

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-133.
--
Resolution: Fixed

> Need support for running from RAM
> -
>
> Key: MYNEWT-133
> URL: https://issues.apache.org/jira/browse/MYNEWT-133
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>  Components: Bootloader, Flash, Image Mgmt, OS
>Reporter: Sterling Hughes
>Assignee: Marko Kiiskila
>Priority: Major
>  Labels: core
> Fix For: v1_4_0_rel
>
>
> Right now we program internal flash to run from, must provide support for 
> running from RAM, and a combination of different RAMs (e.g. internal ram for 
> critical code sections, external ram for non-critical sections.) 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-722) Add "Central Address Resolution characteristic" to GAP Service

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-722.
--

> Add "Central Address Resolution characteristic" to GAP Service
> --
>
> Key: MYNEWT-722
> URL: https://issues.apache.org/jira/browse/MYNEWT-722
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Assignee: Andrzej Kaczmarek
>Priority: Minor
>  Labels: NimBLE
> Fix For: v1_4_0_rel
>
>
> Once Mynewt-721 is resolved, it would be good to add Central Address 
> Resolution characteristic to GAP



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-854) Improve S2/S8 selection when using LE Coded PHY

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-854.
--

> Improve S2/S8 selection when using LE Coded PHY
> ---
>
> Key: MYNEWT-854
> URL: https://issues.apache.org/jira/browse/MYNEWT-854
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Assignee: Andrzej Kaczmarek
>Priority: Minor
>  Labels: NimBLE
> Fix For: v1_4_0_rel
>
>
> Probably would be good to follow coding scheme from master



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-838) Update os_callouts documentation

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-838.
--

> Update os_callouts documentation
> 
>
> Key: MYNEWT-838
> URL: https://issues.apache.org/jira/browse/MYNEWT-838
> Project: Mynewt
>  Issue Type: Improvement
>  Components: Documentation, Site
>Reporter: Miguel Azevedo
>Assignee: Miguel Azevedo
>Priority: Major
>
> Callouts documentation is not up-to-date, it still features 
> os_callout_func_init() and old os_callout_init() 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-877) newt install should clone shallow

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-877.
--

> newt install should clone shallow
> -
>
> Key: MYNEWT-877
> URL: https://issues.apache.org/jira/browse/MYNEWT-877
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: Newt
>Reporter: Jacob Rosenthal
>Assignee: Sterling Hughes
>Priority: Minor
>  Labels: Newt
>
> On an intial glance, it seems like newt install might be cloning with depth 
> one
> https://github.com/apache/mynewt-newt/commit/d8c6a397ba6859dfd192dbb91b06201e2fb74733
> but it sure takes forever and the size looks full depth
> $ newt new test
> $ cd test/
> $ newt install
> $ git count-objects -v -H
> count: 0
> size: 0 bytes
> in-pack: 75195
> packs: 1
> size-pack: 86.02 MiB
> prune-packable: 0
> garbage: 0
> size-garbage: 0 bytes
> indeed a shallow clone outside of a newt install comes in much smaller
> $ git clone --depth 1 g...@github.com:apache/mynewt-core.git
>  ...
> $ git count-objects -v -H
> count: 0
> size: 0 bytes
> in-pack: 4876
> packs: 1
> size-pack: 10.24 MiB
> prune-packable: 0
> garbage: 0
> size-garbage: 0 bytes
> I havent looked closer but perhaps newt install follows a different code path 
> that could be --depth 1 as well?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-480) Newtmgr needs version command

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-480.
--

> Newtmgr needs version command
> -
>
> Key: MYNEWT-480
> URL: https://issues.apache.org/jira/browse/MYNEWT-480
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Newtmgr
>Affects Versions: WISHLIST
>Reporter: David G. Simmons
>Assignee: Sterling Hughes
>Priority: Minor
>
> newtmgr version
> Error: unknown command "version" for "newtmgr"
> Impossible to determine what version of newtmgr you are running. For 
> consistency beteween newt, newtmgr, etc. having a version string would be 
> good. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-721) Improve configuration of GAP Service

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-721.

Resolution: Fixed

> Improve configuration of GAP Service 
> -
>
> Key: MYNEWT-721
> URL: https://issues.apache.org/jira/browse/MYNEWT-721
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Assignee: Andrzej Kaczmarek
>Priority: Minor
>  Labels: NimBLE
> Fix For: v1_4_0_rel
>
>
> GAP characteristic values are hard coded now. Maybe it is worth to consider 
> to use syscfg.yml for this purpose



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-721) Improve configuration of GAP Service

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-721.
--

> Improve configuration of GAP Service 
> -
>
> Key: MYNEWT-721
> URL: https://issues.apache.org/jira/browse/MYNEWT-721
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Assignee: Andrzej Kaczmarek
>Priority: Minor
>  Labels: NimBLE
> Fix For: v1_4_0_rel
>
>
> GAP characteristic values are hard coded now. Maybe it is worth to consider 
> to use syscfg.yml for this purpose



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-883) Deprecate Bletiny

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-883.
--

> Deprecate Bletiny
> -
>
> Key: MYNEWT-883
> URL: https://issues.apache.org/jira/browse/MYNEWT-883
> Project: Mynewt
>  Issue Type: Task
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Priority: Minor
>  Labels: NimBLE
>
> Since we decide to deprecate bletiny we need some cleaning around it



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-885) Make sure all the tutorials uses btshell instead of bletiny

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-885.

Resolution: Fixed

> Make sure all the tutorials uses btshell instead of bletiny
> ---
>
> Key: MYNEWT-885
> URL: https://issues.apache.org/jira/browse/MYNEWT-885
> Project: Mynewt
>  Issue Type: Sub-task
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Priority: Major
>  Labels: NimBLE
>
> Including apache site



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (MYNEWT-885) Make sure all the tutorials uses btshell instead of bletiny

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc closed MYNEWT-885.
--

> Make sure all the tutorials uses btshell instead of bletiny
> ---
>
> Key: MYNEWT-885
> URL: https://issues.apache.org/jira/browse/MYNEWT-885
> Project: Mynewt
>  Issue Type: Sub-task
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Priority: Major
>  Labels: NimBLE
>
> Including apache site



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (MYNEWT-883) Deprecate Bletiny

2024-05-23 Thread Szymon Janc (Jira)


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

Szymon Janc resolved MYNEWT-883.

Resolution: Fixed

> Deprecate Bletiny
> -
>
> Key: MYNEWT-883
> URL: https://issues.apache.org/jira/browse/MYNEWT-883
> Project: Mynewt
>  Issue Type: Task
>  Security Level: Public(Viewable by anyone) 
>Reporter: Łukasz Rymanowski
>Priority: Minor
>  Labels: NimBLE
>
> Since we decide to deprecate bletiny we need some cleaning around it



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (MYNEWT-757) Inconsistent tags among newt, blinky, and core

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc reassigned MYNEWT-757:
--

Assignee: Szymon Janc  (was: Aditi Hilbert)

> Inconsistent tags among newt, blinky, and core
> --
>
> Key: MYNEWT-757
> URL: https://issues.apache.org/jira/browse/MYNEWT-757
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Newt
>Reporter: Christopher Collins
>Assignee: Szymon Janc
> Fix For: v1_1_0_rel
>
>
> * "newt install" should download the corresponding version of blinky.
> * Blinky's project.yml should specify the corresponding version of core.
> Currently, the versions don't match up properly:
> * In master: newt specifies blinky's develop tag
> * In develop: blinky's project.yml specifies core's 1-latest tag.



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


[jira] [Assigned] (MYNEWT-749) BLE Host - Crash during key persistence if key-dist settings are 0

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc reassigned MYNEWT-749:
--

Assignee: Christopher Collins  (was: Szymon Janc)

> BLE Host - Crash during key persistence if key-dist settings are 0
> --
>
> Key: MYNEWT-749
> URL: https://issues.apache.org/jira/browse/MYNEWT-749
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Christopher Collins
>Assignee: Christopher Collins
> Fix For: v1_1_0_rel
>
>
> If BLE_SM_BONDING is enabled, but one of the the following settings is 0:
> * BLE_SM_OUR_KEY_DIST
> * BLE_SM_THEIR_KEY_DIST
> then Mynewt crashes when pairing completes.  Here is an example stack trace:
> {noformat}
> Program received signal SIGTRAP, Trace/breakpoint trap.
> __assert_func (file=file@entry=0x0, line=line@entry=0, func=func@entry=0x0, 
> e=e@entry=0x0) at kernel/os/src/arch/cortex_m4/os_fault.c:137
> 137asm("bkpt");
> (gdb) whe
> #0  __assert_func (file=file@entry=0x0, line=line@entry=0, 
> func=func@entry=0x0, e=e@entry=0x0) at 
> kernel/os/src/arch/cortex_m4/os_fault.c:137
> #1  0x000181f8 in ble_store_persist_sec (obj_type=, 
> value_sec=) at net/nimble/host/src/ble_store.c:92
> #2  0x000177ca in ble_sm_persist_keys (proc=0x181f9 
> ) at net/nimble/host/src/ble_sm.c:565
> #3  ble_sm_process_result (conn_handle=conn_handle@entry=1, 
> res=res@entry=0x2000165c ) at 
> net/nimble/host/src/ble_sm.c:860
> #4  0x0001792c in ble_sm_enc_event_rx (conn_handle=, 
> evt_status=, encrypted=1) at net/nimble/host/src/ble_sm.c:1042
> #5  0x00017942 in ble_sm_enc_change_rx (evt=evt@entry=0x20001698 
> ) at net/nimble/host/src/ble_sm.c:1051
> #6  0x000153be in ble_hs_hci_evt_encrypt_change (event_code=, 
> data=0x20004c20 "\b\004", len=) at 
> net/nimble/host/src/ble_hs_hci_evt.c:163
> #7  0x00015438 in ble_hs_hci_evt_process (data=0x20004c20 "\b\004") at 
> net/nimble/host/src/ble_hs_hci_evt.c:593
> #8  0x9016 in os_eventq_run (evq=) at 
> kernel/os/src/os_eventq.c:172
> #9  0x879e in main () at apps/bleprph/src/main.c:301
> {noformat}



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


[jira] [Commented] (MYNEWT-430) Segger's SystemView working with Mynewt

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc commented on MYNEWT-430:


should be closed after documentation is updated

> Segger's SystemView working with Mynewt
> ---
>
> Key: MYNEWT-430
> URL: https://issues.apache.org/jira/browse/MYNEWT-430
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Affects Versions: v1_1_0_rel
>Reporter: Sterling Hughes
>Assignee: Szymon Janc
> Fix For: v1_1_0_rel
>
>
> https://www.segger.com/systemview.html
> Would be good to wire this into mynewt.



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


[jira] [Assigned] (MYNEWT-430) Segger's SystemView working with Mynewt

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc reassigned MYNEWT-430:
--

Assignee: Szymon Janc  (was: Michał Narajowski)

> Segger's SystemView working with Mynewt
> ---
>
> Key: MYNEWT-430
> URL: https://issues.apache.org/jira/browse/MYNEWT-430
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Affects Versions: v1_1_0_rel
>Reporter: Sterling Hughes
>Assignee: Szymon Janc
> Fix For: v1_1_0_rel
>
>
> https://www.segger.com/systemview.html
> Would be good to wire this into mynewt.



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


[jira] [Updated] (MYNEWT-490) Move os_time_get() and parts of os_time_tick() into the HAL, rename os_tick HAL

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Move os_time_get() and parts of os_time_tick() into the HAL, rename os_tick 
> HAL
> ---
>
> Key: MYNEWT-490
> URL: https://issues.apache.org/jira/browse/MYNEWT-490
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>Reporter: Sterling Hughes
>Assignee: Marko Kiiskila
> Fix For: v1_2_0_rel
>
>
> Right now the implementation of os_time_* is split between platform/idle tick 
> handling (currently in the MCU directory), and the OS itself.  It is useful 
> for the HAL to be able to access the ticker, and given that the os_tick 
> handling implementation is already _largely_ in the HAL, it makes sense to 
> centralize this in the MCU implementation itself.
> Also, we should rename os_tick_idle() to hal_os_tick_idle().
> This is a tracking ticket to make sure we review and potentially revise the 
> division here prior to release.



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


[jira] [Updated] (MYNEWT-135) Need calendaring support & localtime() concept

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Need calendaring support & localtime() concept
> --
>
> Key: MYNEWT-135
> URL: https://issues.apache.org/jira/browse/MYNEWT-135
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>Reporter: Sterling Hughes
> Fix For: v1_2_0_rel
>
>
> Need to have support for calendaring (e.g. 3rd thursday of 4th month is what 
> date?), Localtime + DST adjustments, time skew adjustment.  



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


[jira] [Updated] (MYNEWT-136) Alert / Event Notification System

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Alert / Event Notification System
> -
>
> Key: MYNEWT-136
> URL: https://issues.apache.org/jira/browse/MYNEWT-136
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>Reporter: Sterling Hughes
> Fix For: v1_2_0_rel
>
>
> Need an event and alert subsystem that most of the code respects.  These 
> events & alerts should be filterable -- and cause actions: log, trap, reboot, 
> etc.



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


[jira] [Closed] (MYNEWT-181) Test Plan for nffs

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc closed MYNEWT-181.
--
Resolution: Won't Fix

> Test Plan for nffs
> --
>
> Key: MYNEWT-181
> URL: https://issues.apache.org/jira/browse/MYNEWT-181
> Project: Mynewt
>  Issue Type: Test
>  Security Level: Public(Viewable by anyone) 
>Reporter: Aditi Hilbert
>Assignee: Peter Snyder
> Fix For: v1_1_0_rel
>
>




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


[jira] [Updated] (MYNEWT-417) os_mbuf needs functions to pre-allocate buffers, and generate a contiguous buffer

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> os_mbuf needs functions to pre-allocate buffers, and generate a contiguous 
> buffer
> -
>
> Key: MYNEWT-417
> URL: https://issues.apache.org/jira/browse/MYNEWT-417
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Affects Versions: v1_0_0_beta1
>Reporter: Sterling Hughes
>Assignee: Marko Kiiskila
> Fix For: v1_2_0_rel
>
>
> os_mbuf APIs need a few extra helper functions:
> - a function to allocate an mbuf with at least 'n' bytes contiguous from msys
> - a function to allocate a chain of mbufs that is guaranteed to have at least 
> 'n' bytes



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


[jira] [Updated] (MYNEWT-421) Need to have a "SRAM retention" section for code

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Need to have a "SRAM retention" section for code
> 
>
> Key: MYNEWT-421
> URL: https://issues.apache.org/jira/browse/MYNEWT-421
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Affects Versions: v1_0_0_beta1
>Reporter: Sterling Hughes
>Assignee: William San Filippo
> Fix For: v1_2_0_rel
>
>
> Need to have linker sections for low power operation, and a function that 
> restores when a system comes out of low power state, along with retained RAM 
> areas, that can do operation and checking, when in super low power states.



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


[jira] [Assigned] (MYNEWT-420) Implement OS stack checking, and memory debug

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc reassigned MYNEWT-420:
--

Assignee: Marko Kiiskila  (was: Szymon Janc)

> Implement OS stack checking, and memory debug
> -
>
> Key: MYNEWT-420
> URL: https://issues.apache.org/jira/browse/MYNEWT-420
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Affects Versions: v1_0_0_beta1
>Reporter: Sterling Hughes
>Assignee: Marko Kiiskila
> Fix For: v1_2_0_rel
>
>
> OS needs stack size checking / stack guards.  Memory pools need alloc/free 
> tracking, and assert on double free. 



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


[jira] [Updated] (MYNEWT-420) Implement OS stack checking, and memory debug

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Implement OS stack checking, and memory debug
> -
>
> Key: MYNEWT-420
> URL: https://issues.apache.org/jira/browse/MYNEWT-420
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Affects Versions: v1_0_0_beta1
>Reporter: Sterling Hughes
>Assignee: Sterling Hughes
> Fix For: v1_2_0_rel
>
>
> OS needs stack size checking / stack guards.  Memory pools need alloc/free 
> tracking, and assert on double free. 



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


[jira] [Assigned] (MYNEWT-420) Implement OS stack checking, and memory debug

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc reassigned MYNEWT-420:
--

Assignee: Szymon Janc  (was: Sterling Hughes)

> Implement OS stack checking, and memory debug
> -
>
> Key: MYNEWT-420
> URL: https://issues.apache.org/jira/browse/MYNEWT-420
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Affects Versions: v1_0_0_beta1
>Reporter: Sterling Hughes
>Assignee: Szymon Janc
> Fix For: v1_2_0_rel
>
>
> OS needs stack size checking / stack guards.  Memory pools need alloc/free 
> tracking, and assert on double free. 



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


[jira] [Commented] (MYNEWT-372) generic SPI flash driver

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc commented on MYNEWT-372:


is this work ongoing? or should we move it to 1.2 release?

> generic SPI flash driver
> 
>
> Key: MYNEWT-372
> URL: https://issues.apache.org/jira/browse/MYNEWT-372
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Marko Kiiskila
>Assignee: Fabio Utzig
> Fix For: v1_1_0_rel
>
>
> Should use the SPI interface to access it.



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


[jira] [Updated] (MYNEWT-448) stm32f3 needs a watchdog

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> stm32f3 needs a watchdog
> 
>
> Key: MYNEWT-448
> URL: https://issues.apache.org/jira/browse/MYNEWT-448
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: HAL
>Affects Versions: v0_9_0
>Reporter: William San Filippo
>Assignee: Fabio Utzig
> Fix For: v1_2_0_rel
>
>
> The stm32f3 hal needs a watchdog.



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


[jira] [Updated] (MYNEWT-173) Need to review uvisor lib, and come up with mynewt design for similar features

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Need to review uvisor lib, and come up with mynewt design for similar features
> --
>
> Key: MYNEWT-173
> URL: https://issues.apache.org/jira/browse/MYNEWT-173
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: HAL, OS
>Reporter: Sterling Hughes
> Fix For: v1_2_0_rel
>
>
> This looks pretty good, we should see what they've done here:
> https://github.com/ARMmbed/uvisor-lib/blob/master/README.md
> And then come up with a design for how this could work in mynewt: 
> - What will run privileged vs unprivileged
>- For example: I could make the argument for the peripherals and HAL to 
> run in priviledged mode, but not the RTOS.  
> - How will this tie into low-power design, is there any work we'd want to do 
> here to protect low power portions of the chip
> Also decide whether we can leverage the work already done on uvisor, or we'd 
> need to reimplement it.  
> First step: Neel, can you take a look at this, and post your findings about 
> what we'd want to do on the ticket?



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


[jira] [Commented] (MYNEWT-682) stm32f767-nucleo build warning

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc commented on MYNEWT-682:


isn't this fixed already?   Fabio, could you double check and close if fixed?

> stm32f767-nucleo build warning
> --
>
> Key: MYNEWT-682
> URL: https://issues.apache.org/jira/browse/MYNEWT-682
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>Reporter: Marko Kiiskila
>Assignee: Fabio Utzig
> Fix For: v1_1_0_rel
>
>
> targets/slinky_767
> app=@apache-mynewt-core/apps/slinky
> bsp=@apache-mynewt-core/hw/bsp/stm32f767-nucleo
> build_profile=debug
> [marko@IsMyLaptop:~/src8/incubator-mynewt-blinky]$ newt run slinky_767 4
> Compiling bin/targets/slinky_767/generated/src/slinky_767-sysinit-app.c
> Archiving slinky_767-sysinit-app.a
> Linking 
> /Users/marko/src8/incubator-mynewt-blinky/bin/targets/slinky_767/app/apps/slinky/slinky.elf
> App image succesfully generated: 
> /Users/marko/src8/incubator-mynewt-blinky/bin/targets/slinky_767/app/apps/slinky/slinky.img
> * Warning: target does not define MCU_FLASH_MIN_WRITE_SIZE setting; assuming 
> a value of 1.



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


[jira] [Updated] (MYNEWT-685) Support "git" only package management

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Support "git" only package management
> -
>
> Key: MYNEWT-685
> URL: https://issues.apache.org/jira/browse/MYNEWT-685
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Sterling Hughes
> Fix For: v1_2_0_rel
>
>
> Right now fetching repository.yml requires github (either private or public), 
> but can not just use raw git commands.  Support git only versions of this, to 
> suppoort bitbucket and other private git repos.



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


[jira] [Assigned] (MYNEWT-352) Use Go's vendoring support for newtmgr

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc reassigned MYNEWT-352:
--

Assignee: Christopher Collins

> Use Go's vendoring support for newtmgr
> --
>
> Key: MYNEWT-352
> URL: https://issues.apache.org/jira/browse/MYNEWT-352
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Aditi Hilbert
>Assignee: Christopher Collins
> Fix For: v1_1_0_rel
>
>
> Without using the vendoring feature of go, installation errors are seen if 
> the underlying libraries (e.g. Cobra) get updated and are not backwards 
> compatible.
> We first need to separate the newt and newtmgr repos. 



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


[jira] [Updated] (MYNEWT-463) Add API to lock/unlock the scheduler.

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Add API to lock/unlock the scheduler.
> -
>
> Key: MYNEWT-463
> URL: https://issues.apache.org/jira/browse/MYNEWT-463
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: OS
>Affects Versions: v0_9_0
>Reporter: William San Filippo
>Assignee: William San Filippo
> Fix For: v1_2_0_rel
>
>
> The OS should have an API to lock/unlock the scheduler.



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


[jira] [Updated] (MYNEWT-320) should be able to query config variables without registering a handler

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> should be able to query config variables without registering a handler
> --
>
> Key: MYNEWT-320
> URL: https://issues.apache.org/jira/browse/MYNEWT-320
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Marko Kiiskila
> Fix For: v1_2_0_rel
>
>
> In order to figure out what config variable is saved to, you need to have a 
> handler registered, which gets called at config load time.
> Expectation is that the user will keep this value around.
> We should remove this requirement, so that you can load values on demand. 
> This becomes useful for cases the amount of stored data is large (e.g. 
> bluetooth LTK), and where it's used only for a short period of time.



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


[jira] [Updated] (MYNEWT-565) Should have USB and BTLE HID support

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Should have USB and BTLE HID support
> 
>
> Key: MYNEWT-565
> URL: https://issues.apache.org/jira/browse/MYNEWT-565
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Reporter: Sterling Hughes
>Assignee: Fabio Utzig
> Fix For: v1_2_0_rel
>
>
> As we look at initial USB support, I think it would be good to target a 
> consistent interface for HID across both BLE and USB. 



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


[jira] [Updated] (MYNEWT-132) Manufacturing configuration and test framework

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Manufacturing configuration and test framework
> --
>
> Key: MYNEWT-132
> URL: https://issues.apache.org/jira/browse/MYNEWT-132
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>  Components: Image Mgmt, Newt, Nimble, OS
>Reporter: Sterling Hughes
> Fix For: v1_2_0_rel
>
>
> Need a framework for storing manufacturing test data, and configuration.  
> There are many common tasks that happen at manufacturing time: 
> - Device addr
> - Device certificates
> - Hardware revision & version 
> We should have some framework/simple text API for: 
> - Setting these variables (use shell with console logging turned off?) 
> - Extending and processing manufacturing data 
> - Storing callibration tables
> - Etc.



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


[jira] [Closed] (MYNEWT-28) Test & improve multiple connections in the BLE stack

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc closed MYNEWT-28.
-
Resolution: Won't Fix

> Test & improve multiple connections in the BLE stack
> 
>
> Key: MYNEWT-28
> URL: https://issues.apache.org/jira/browse/MYNEWT-28
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Reporter: Sterling Hughes
> Fix For: v1_1_0_rel
>
>
> Right now Bluetooth stack can handle a number of simultaneous connections out 
> of the gate (handling up to 32 in a test), however, work needs to be put in 
> to reliable schedule connections, recovering from missed connection slots, 
> etc. 
> Scheduling this for June release.



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


[jira] [Updated] (MYNEWT-134) Support images in external flash

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Support images in external flash
> 
>
> Key: MYNEWT-134
> URL: https://issues.apache.org/jira/browse/MYNEWT-134
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>  Components: Bootloader, Flash, Image Mgmt
>Reporter: Sterling Hughes
>Assignee: Marko Kiiskila
> Fix For: v1_2_0_rel
>
>
> Must support grabbing images from an external SPI flash, and running them 
> either in RAM, or in internal flash.



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


[jira] [Resolved] (MYNEWT-7) OS should have the ability to suspend a task

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc resolved MYNEWT-7.
--
Resolution: Fixed

> OS should have the ability to suspend a task
> 
>
> Key: MYNEWT-7
> URL: https://issues.apache.org/jira/browse/MYNEWT-7
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>  Components: OS
>Reporter: Sterling Hughes
>Assignee: Peter Snyder
> Fix For: v1_1_0_rel
>
>
> Currently the OS can start any number of tasks, but there is no way to 
> suspend a task.  There should be an API to "stop" a task.



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


[jira] [Updated] (MYNEWT-400) Improve newt compatibility with 3rd party systems

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Improve newt compatibility with 3rd party systems
> -
>
> Key: MYNEWT-400
> URL: https://issues.apache.org/jira/browse/MYNEWT-400
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: Newt
>Reporter: Sterling Hughes
>Assignee: Sterling Hughes
> Fix For: v1_2_0_rel
>
>
> Newt should be able to generate a Makefile, with the targets from newt target 
> show, so that a newt source code base can easily be brought in.
> This includes a few features:
> - Every newt target should generate a .a file which is the superset of all 
> built .a files, that way newt can be linked as a library into another 
> application.  
> - All the include directories should (optionally) be placed into the bin/ 
> directory, along with their full directory path.
>   - this MUST be optional, as for users of newt this creates unnecessary 
> header file duplication, but it is very useful for people who wish to include 
> newt in third party systems
> - Newt should have an option to generate a Makefile, with the targets in newt 
> target show, that allows people to build a newt project without the newt 
> tool, and just requires Make.



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


[jira] [Updated] (MYNEWT-413) Need an option to generate a Makefile for external build systems

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Need an option to generate a Makefile for external build systems
> 
>
> Key: MYNEWT-413
> URL: https://issues.apache.org/jira/browse/MYNEWT-413
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>Affects Versions: v1_0_0_beta2
>Reporter: Sterling Hughes
> Fix For: v1_2_0_rel
>
>
> When mapping Mynewt into external build systems, it would be helpful if 
> people can use make to build the source code directories.
> newt should be able to generate a Makefile for all targets defined by "newt 
> target show."  



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


[jira] [Assigned] (MYNEWT-268) BLE - enable factory reset

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc reassigned MYNEWT-268:
--

Assignee: Christopher Collins

> BLE - enable factory reset
> --
>
> Key: MYNEWT-268
> URL: https://issues.apache.org/jira/browse/MYNEWT-268
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>Reporter: Aditi Hilbert
>Assignee: Christopher Collins
> Fix For: v1_1_0_rel
>
>
> The settings need to be stored in flash (sysvars).



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


[jira] [Assigned] (MYNEWT-267) BLE - make TX power configurable

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc reassigned MYNEWT-267:
--

Assignee: Szymon Janc  (was: William San Filippo)

> BLE - make TX power configurable
> 
>
> Key: MYNEWT-267
> URL: https://issues.apache.org/jira/browse/MYNEWT-267
> Project: Mynewt
>  Issue Type: New Feature
>  Security Level: Public(Viewable by anyone) 
>Reporter: Aditi Hilbert
>Assignee: Szymon Janc
> Fix For: v1_1_0_rel
>
>




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


[jira] [Updated] (MYNEWT-232) Port Mynewt OS to Arduino DUE

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> Port Mynewt OS to Arduino DUE
> -
>
> Key: MYNEWT-232
> URL: https://issues.apache.org/jira/browse/MYNEWT-232
> Project: Mynewt
>  Issue Type: Wish
>  Security Level: Public(Viewable by anyone) 
>Reporter: Aditi Hilbert
> Fix For: v1_2_0_rel
>
>




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


[jira] [Resolved] (MYNEWT-738) Fix Parameter arrays in events and elsewhere

2017-06-30 Thread Szymon Janc (JIRA)

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

Szymon Janc resolved MYNEWT-738.

Resolution: Fixed

> Fix Parameter arrays in events and elsewhere
> 
>
> Key: MYNEWT-738
> URL: https://issues.apache.org/jira/browse/MYNEWT-738
> Project: Mynewt
>  Issue Type: Bug
>  Security Level: Public(Viewable by anyone) 
>  Components: Nimble
>Affects Versions: v1_0_0_rel
>Reporter: William San Filippo
>Assignee: William San Filippo
> Fix For: v1_1_0_rel
>
>
> It appears that for some events and possible commands that the specification 
> was interpreted incorrectly. Multiple parameter arrays are treated in the 
> following manner:
> Arrayed parameters are specified using the following notation: ParameterA[i]. 
> If more than one set of arrayed parameters are specified (e.g. ParameterA[i], 
> ParameterB[i]), then the order of the parameters are as follows: 
> ParameterA[0], ParameterB[0], ParameterA[1], ParameterB[1], ParameterA[2], 
> ParameterB[2], … ParameterA[n], ParameterB[n]
> Need to go through the controller and host code to fix all places where this 
> is incorrect.



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


[jira] [Updated] (MYNEWT-17) add atof() and strtod() support to baselibc

2017-06-30 Thread Szymon Janc (JIRA)

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

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

> add atof() and strtod() support to baselibc
> ---
>
> Key: MYNEWT-17
> URL: https://issues.apache.org/jira/browse/MYNEWT-17
> Project: Mynewt
>  Issue Type: Improvement
>  Security Level: Public(Viewable by anyone) 
>  Components: Misc
>Reporter: Marko Kiiskila
>Assignee: Marko Kiiskila
>Priority: Minor
> Fix For: v1_2_0_rel
>
>




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


  1   2   >