[jira] [Created] (MYNEWT-121) sys/stats - Allow access from multiple source files

2016-02-16 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-121:
--

 Summary: sys/stats - Allow access from multiple source files
 Key: MYNEWT-121
 URL: https://issues.apache.org/jira/browse/MYNEWT-121
 Project: Mynewt
  Issue Type: Improvement
  Components: Misc
Reporter: Christopher Collins
Assignee: Christopher Collins
 Fix For: v0_8_0_beta2


1. The STATS_SECT_START and STATS_SECT_END macros just define a struct; they 
don't create an instance.  Generally, these macros would be used in a header 
file so that source files can have access to the struct definition.

2. The addition of a STATS_SECT_DECL macro.  This macro would be used in two 
places:
* In source files to instantiate a stats struct.
* In header files to expose an extern declaration of a stats instance.

3. As a consequence of the above two points: the names of struct instances are 
no longer auto-generated.  The user needs to specify the exact name.  All 
macros which derive the instance name from the struct name are changed: now 
they just accept the instance name directly.




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


[jira] [Resolved] (MYNEWT-68) BLE Host - Overly strict mbuf size requirements

2016-02-16 Thread Christopher Collins (JIRA)

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

Christopher Collins resolved MYNEWT-68.
---
Resolution: Fixed

> BLE Host - Overly strict mbuf size requirements
> ---
>
> Key: MYNEWT-68
> URL: https://issues.apache.org/jira/browse/MYNEWT-68
> Project: Mynewt
>  Issue Type: Bug
>  Components: Nimble
>Reporter: Christopher Collins
>Assignee: Christopher Collins
>Priority: Minor
> Fix For: v0_8_0_beta2
>
>




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


[jira] [Updated] (MYNEWT-58) Have documentation generate one-page per function, in function reference.

2016-02-16 Thread Aditi Hilbert (JIRA)

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

Aditi Hilbert updated MYNEWT-58:

Due Date: 22/Feb/16  (was: 18/Feb/16)

> Have documentation generate one-page per function, in function reference.
> -
>
> Key: MYNEWT-58
> URL: https://issues.apache.org/jira/browse/MYNEWT-58
> Project: Mynewt
>  Issue Type: Improvement
>  Components: Documentation, Site
>Reporter: Sterling Hughes
>Assignee: Aditi Hilbert
> Fix For: v0_8_0_beta2
>
>
> This will make searching for individual function references much easier, 
> especially with 3rd party search engines (e.g. the Goog) 



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


[jira] [Updated] (MYNEWT-58) Have documentation generate one-page per function, in function reference.

2016-02-16 Thread Aditi Hilbert (JIRA)

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

Aditi Hilbert updated MYNEWT-58:

Due Date: 18/Feb/16

> Have documentation generate one-page per function, in function reference.
> -
>
> Key: MYNEWT-58
> URL: https://issues.apache.org/jira/browse/MYNEWT-58
> Project: Mynewt
>  Issue Type: Improvement
>  Components: Documentation, Site
>Reporter: Sterling Hughes
>Assignee: Aditi Hilbert
> Fix For: v0_8_0_beta2
>
>
> This will make searching for individual function references much easier, 
> especially with 3rd party search engines (e.g. the Goog) 



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


[jira] [Updated] (MYNEWT-20) Flash circular buffer implementation

2016-02-16 Thread Marko Kiiskila (JIRA)

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

Marko Kiiskila updated MYNEWT-20:
-
Due Date: 19/Feb/16

> Flash circular buffer implementation
> 
>
> Key: MYNEWT-20
> URL: https://issues.apache.org/jira/browse/MYNEWT-20
> Project: Mynewt
>  Issue Type: New Feature
>  Components: Flash
>Reporter: Sterling Hughes
>Assignee: Marko Kiiskila
> Fix For: v0_8_0_beta2
>
>
> We need a flash circular buffer implementation. 
> Features necessary include: 
> - Checksum for data integrity 
> - Ability to work across multiple sectors of flash, erasing one sector at a 
> time 
> - The ability to index by both entry ID, and date/time 
> - Recovery of poorly written elements without invalidating log (e.g. if power 
> goes out while writing an entry, only that entry should be corrupt.) 



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


[jira] [Updated] (MYNEWT-87) Implement channel map update LL control procedure

2016-02-16 Thread William San Filippo (JIRA)

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

William San Filippo updated MYNEWT-87:
--
Due Date: 17/Feb/16

> Implement channel map update LL control procedure
> -
>
> Key: MYNEWT-87
> URL: https://issues.apache.org/jira/browse/MYNEWT-87
> Project: Mynewt
>  Issue Type: New Feature
>  Components: Nimble
>Affects Versions: v0_8_0_beta1
>Reporter: William San Filippo
>Assignee: William San Filippo
>Priority: Critical
>  Labels: controller
> Fix For: v0_8_0_beta2
>
>
> Many folks at the unplugfest noted that our controller did not support the 
> channel map update procedure. Most hosts/controllers attempt to perform this 
> procedure during a connection.



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


[jira] [Updated] (MYNEWT-70) BLE Host - Initial set of logs

2016-02-16 Thread Aditi Hilbert (JIRA)

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

Aditi Hilbert updated MYNEWT-70:

Due Date: 18/Feb/16  (was: 17/Feb/16)

> BLE Host - Initial set of logs
> --
>
> Key: MYNEWT-70
> URL: https://issues.apache.org/jira/browse/MYNEWT-70
> Project: Mynewt
>  Issue Type: Bug
>  Components: Nimble
>Reporter: Christopher Collins
>Assignee: Christopher Collins
> Fix For: v0_8_0_beta2
>
>




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


[jira] [Updated] (MYNEWT-80) Remove os_sem_delete and os_mutex delete as that functionality is not very useful

2016-02-16 Thread William San Filippo (JIRA)

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

William San Filippo updated MYNEWT-80:
--
Due Date: 16/Feb/16

> Remove os_sem_delete and os_mutex delete as that functionality is not very 
> useful
> -
>
> Key: MYNEWT-80
> URL: https://issues.apache.org/jira/browse/MYNEWT-80
> Project: Mynewt
>  Issue Type: Improvement
>  Components: OS
>Affects Versions: v0_8_0_beta1
>Reporter: William San Filippo
>Assignee: William San Filippo
>Priority: Minor
> Fix For: v0_8_0_beta2
>
>
> We have decided that there is no need for os mutex or semaphore delete API. 
> Remove them. There are also issues with the current implementation of those 
> API so removing them will obviate those issues.



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


[jira] [Updated] (MYNEWT-119) Nimble stack crashing if PHY receives a PDU that is 257 bytes long.

2016-02-16 Thread William San Filippo (JIRA)

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

William San Filippo updated MYNEWT-119:
---
Due Date: 16/Feb/16

> Nimble stack crashing if PHY receives a PDU that is 257 bytes long.
> ---
>
> Key: MYNEWT-119
> URL: https://issues.apache.org/jira/browse/MYNEWT-119
> Project: Mynewt
>  Issue Type: Bug
>  Components: Nimble
>Affects Versions: v0_8_0_beta1
>Reporter: William San Filippo
>Assignee: William San Filippo
>Priority: Blocker
>  Labels: controller, mbuf
> Fix For: v0_8_0_beta2
>
>
> There is a bug in the code which will cause the device to crash if it 
> receives a mbuf that is too large. Unfortunately I dont have a debug output 
> of the crash but we could obtain one if we think it is necessary. Running the 
> un-fixed code in a noisy environment with lots of simultaneous connections 
> should reproduce it eventually.
> This problem was caused when we moved the controller code to use msys mbufs. 
> The buffer was not sized properly as the PHY still needs a flat buffer to 
> receive into and since the PHY currently uses mbufs, these mbufs need to 
> accommodate at least 257 bytes of data (they only had 256 bytes).



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


[jira] [Assigned] (MYNEWT-111) Support random static address in BLE

2016-02-16 Thread Aditi Hilbert (JIRA)

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

Aditi Hilbert reassigned MYNEWT-111:


Assignee: William San Filippo

> Support random static address in BLE
> 
>
> Key: MYNEWT-111
> URL: https://issues.apache.org/jira/browse/MYNEWT-111
> Project: Mynewt
>  Issue Type: Sub-task
>  Components: Nimble
>Reporter: Aditi Hilbert
>Assignee: William San Filippo
> Fix For: v0_8_0_beta2
>
>
> Random device address may be of either of the following two sub-types:
> • Static address
> • Private address
> The private address may further be of either of the following two sub-types:
> • Non-resolvable private address
> • Resolvable private address
> Random Static– Burned into silicon or can be randomly generated to a new 
> value at each power cycle.
> Random Private Resolvable– Used in bonded devices and requires the Identity 
> Resolving Key (IRK) be shared during Phase 3 of the pairing procedure. This 
> changes periodically based on a timer or other method. 
> Random Private Non-Resolvable– Shared between bonded devices for use during 
> reconnection. This changes with each connection.



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


[jira] [Updated] (MYNEWT-52) In "Community" section need to have a sub-page that describes how to submit patches

2016-02-16 Thread Aditi Hilbert (JIRA)

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

Aditi Hilbert updated MYNEWT-52:

Due Date: 17/Feb/16

> In "Community" section need to have a sub-page that describes how to submit 
> patches
> ---
>
> Key: MYNEWT-52
> URL: https://issues.apache.org/jira/browse/MYNEWT-52
> Project: Mynewt
>  Issue Type: New Feature
>  Components: Site
>Reporter: Sterling Hughes
>Assignee: Aditi Hilbert
> Fix For: v0_8_0_beta2
>
>
> We need to have a document on submitting patches and features back to Mynewt, 
> either using patches to dev@ mailing list or Github (if we support this 
> option.) 



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


[jira] [Updated] (MYNEWT-70) BLE Host - Initial set of logs

2016-02-16 Thread Aditi Hilbert (JIRA)

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

Aditi Hilbert updated MYNEWT-70:

Due Date: 17/Feb/16

> BLE Host - Initial set of logs
> --
>
> Key: MYNEWT-70
> URL: https://issues.apache.org/jira/browse/MYNEWT-70
> Project: Mynewt
>  Issue Type: Bug
>  Components: Nimble
>Reporter: Christopher Collins
>Assignee: Christopher Collins
> Fix For: v0_8_0_beta2
>
>




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


[jira] [Updated] (MYNEWT-69) BLE Host - Initial set of statistics

2016-02-16 Thread Aditi Hilbert (JIRA)

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

Aditi Hilbert updated MYNEWT-69:

Due Date: 17/Feb/16

> BLE Host - Initial set of statistics
> 
>
> Key: MYNEWT-69
> URL: https://issues.apache.org/jira/browse/MYNEWT-69
> Project: Mynewt
>  Issue Type: Bug
>  Components: Nimble
>Reporter: Christopher Collins
>Assignee: Christopher Collins
> Fix For: v0_8_0_beta2
>
>




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


[jira] [Updated] (MYNEWT-26) Revise Image Management Scheme

2016-02-16 Thread Marko Kiiskila (JIRA)

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

Marko Kiiskila updated MYNEWT-26:
-
Due Date: 17/Feb/16  (was: 16/Feb/16)

> Revise Image Management Scheme
> --
>
> Key: MYNEWT-26
> URL: https://issues.apache.org/jira/browse/MYNEWT-26
> Project: Mynewt
>  Issue Type: New Feature
>  Components: Image Mgmt
>Reporter: Sterling Hughes
>Assignee: Marko Kiiskila
> Fix For: v0_8_0_beta2
>
>
> We need the following in our image management and bootloader scheme: 
> - Image should contain a SHA-256 in it that uniquely identifies the image
> - Bootloader should support verifying the SHA-256 and the signature of the 
> image.



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


[jira] [Created] (MYNEWT-120) Add generation of IDE project files into newt

2016-02-16 Thread Sterling Hughes (JIRA)
Sterling Hughes created MYNEWT-120:
--

 Summary: Add generation of IDE project files into newt
 Key: MYNEWT-120
 URL: https://issues.apache.org/jira/browse/MYNEWT-120
 Project: Mynewt
  Issue Type: Improvement
  Components: Newt
Reporter: Sterling Hughes
Assignee: Sterling Hughes
Priority: Minor
 Fix For: v0_8_0_rel


Add support for generating IDE project files from the newt tool: 

- Eclipse
- Sublime
- Makefile





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


[jira] [Commented] (MYNEWT-118) GSoC - Android or iOS application to interact with devices/boards powered by Mynewt OS and BLE stack (Nimble)

2016-02-16 Thread Samurdhi Karunarathne (JIRA)

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

Samurdhi Karunarathne commented on MYNEWT-118:
--

Hi Aditi,

I'm Samurdhi Karunarathne and I'm a student at the Faculty of Engineering, 
University of Peradeniya, Sri Lanka. As an avid competitive programmer, I have 
quite some experience with C,C++ and Java. I also participate regularly in 
local robotics competitions and have experience in Android Development, having 
engaged in creating the Android app SiRA throughout most of last year(It's an 
automated intelligent text and call handler. You can check it out on my github 
page https://github.com/samurdhilbk). So this seemed to be a perfect fit for me 
and I'm very interested in working on this as it hits all the sweet spots.
Hope you could give me some guidelines to get myself up and aboard the task. 
Thanks in advance!

Regards,
Samurdhi. 

> GSoC - Android or iOS application to interact with devices/boards powered by 
> Mynewt OS and BLE stack (Nimble)
> -
>
> Key: MYNEWT-118
> URL: https://issues.apache.org/jira/browse/MYNEWT-118
> Project: Mynewt
>  Issue Type: New Feature
>Reporter: Aditi Hilbert
>Assignee: Aditi Hilbert
>  Labels: gsoc2016
>
> Mentor: Will San Filippo, Marko Kiiskila, Aditi Hilbert
> Difficulty: Medium-Hard
> Skills: C, Java or Objective-C or Swift, basic knowledge of Bluetooth Low 
> Energy
> Description: Android and iOS have built-in platform support for Bluetooth Low 
> Energy in the central role and provide APIs that apps can use to discover 
> devices, query for services, and read/write characteristics. Utilize these 
> available APIs to build your own application that interacts with a device 
> running Mynewt. An example of an application is one that graphically displays 
> all the available LEDs on a board and allows the user to make them blink in 
> any desired pattern.



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