{"id":145,"date":"2021-03-13T22:03:07","date_gmt":"2021-03-14T03:03:07","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/?p=145"},"modified":"2021-03-13T22:03:07","modified_gmt":"2021-03-14T03:03:07","slug":"janets-status-report-for-3-13","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/2021\/03\/13\/janets-status-report-for-3-13\/","title":{"rendered":"Janet&#8217;s Status Report for 3\/13"},"content":{"rendered":"<p>This week, I gave the Design Review presentation and also worked with my team on our Design Report. I also created an entity-relationship diagram for the database of our phone app.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-132\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-content\/uploads\/sites\/132\/2021\/03\/erd3-300x162.png\" alt=\"\" width=\"300\" height=\"162\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-content\/uploads\/sites\/132\/2021\/03\/erd3-300x162.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-content\/uploads\/sites\/132\/2021\/03\/erd3-768x416.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-content\/uploads\/sites\/132\/2021\/03\/erd3-1024x554.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-content\/uploads\/sites\/132\/2021\/03\/erd3.png 1125w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>In the diagram, we have an intersection table, EventItems, that keeps track of two foreign keys: EventIDs, and ItemIDs. This is because each event has a subset of all the tagged items in our database, and intersection tables are useful when modeling many-to-many relationships, as in this case. I also created the basic layouts and navigation logic for our phone app in Kotlin this week.\u00a0However, I&#8217;ve been running into constant issues with Git integration for Android Studio, as well as common <a href=\"https:\/\/wajahatkarim.com\/2018\/05\/lots-of-errors-in-code-but-still-app-runs-in-android-studio\/\">build errors<\/a> with Android Studio, and these issues may present a significant risk to the project (as discussed further in the team status report). I&#8217;ll be preparing to create a mobile-accessible web app version of our phone app, should we run into large integration issues in the upcoming weeks. Three reasons why switching to a web app may be advantageous to us include:<\/p>\n<ol>\n<li>Ease of development between the three team members<\/li>\n<li>Product no longer excludes users without Android phones<\/li>\n<li>Accessibility via other platforms, such as laptops and tablets<\/li>\n<\/ol>\n<p>Additionally, we could use\u00a0the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Web_Bluetooth_API\">Web Bluetooth API<\/a> to communicate with other Bluetooth devices over JavaScript. I did some research and found that this API would perfectly fit our needs, as it allows you to request and connect to nearby BLE devices, read\/write Bluetooth characteristics &amp; descriptors, and receive GATT notifications and when devices get disconnected.<\/p>\n<p>Currently, our progress is on schedule, but I&#8217;ll be running some basic tests to see how accessible on phones a web app would be for our project. I&#8217;ll also be working with my team members mostly on the design report that&#8217;s due this upcoming week.<\/p>\n<p>In the next week, I hope to have completed the design report with my team members and have done some research on using a web app instead of a phone app for our needs. Luckily, there&#8217;s quite a bit of slack time built into our schedule for the phone app before further development is needed (after integration with the BLE tags + RPi), so I&#8217;ll be able to use this time to set up risk mitigations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I gave the Design Review presentation and also worked with my team on our Design Report. I also created an entity-relationship diagram for the database of our phone app. In the diagram, we have an intersection table, EventItems, that keeps track of two foreign keys: EventIDs, and ItemIDs. This is because each event &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/2021\/03\/13\/janets-status-report-for-3-13\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Janet&#8217;s Status Report for 3\/13&#8221;<\/span><\/a><\/p>\n","protected":false},"author":410,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[7],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-json\/wp\/v2\/posts\/145"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-json\/wp\/v2\/users\/410"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":1,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-json\/wp\/v2\/posts\/145\/revisions"}],"predecessor-version":[{"id":146,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-json\/wp\/v2\/posts\/145\/revisions\/146"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-json\/wp\/v2\/media?parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-json\/wp\/v2\/categories?post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s21-teamc0\/wp-json\/wp\/v2\/tags?post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}