-
Notifications
You must be signed in to change notification settings - Fork 0
/
how_to_contribute.html
122 lines (99 loc) · 4.54 KB
/
how_to_contribute.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="Lib Miletus website">
<meta name="author" content="Edson Borin">
<!-- TODO: Replace this icon. -->
<link rel="icon" href="./images/icone.ico">
<title>How to contribute</title>
<!-- Bootstrap core CSS -->
<link href="./bootstrap-3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<link href="./bootstrap-3.3.7/docs/assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="jumbotron.css" rel="stylesheet">
<link href="navbar-fixed-top.css" rel="stylesheet">
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="./bootstrap-3.3.7/docs/assets/js/ie-emulation-modes-warning.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- NAVBAR -->
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" >LibMiletus</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="./home.html">Home</a></li>
<li><a href="./getting_started.html">Getting Started</a></li>
<li><a href="./download.html">Download</a></li>
<li><a href="./supported_platforms.html">Supported Platforms</a></li>
<li class="active"><a href="#">How to contribute</a></li>
<li><a href="./overview.html">Overview</a></li>
<li><a href="./miletus_app.html">Android</a></li>
<li><a href="./wish_list.html">Wish list</a></li>
</ul>
</div><!--/.navbar-collapse -->
</div>
</nav>
<!-- QUADRO GERAL -->
<div class="jumbotron2">
<div class="container">
<h1>How to contribute</h1>
<p>
We appreciate any contribution! Just ensure you follow the code style formatting and don’t hesitate to submit your Pull Request!<br />
</p>
<h1 id="porting-guide">Porting guide</h2>
<p>To port to another platform, you need to implement the abstract classes from</p>
<ul>
<li>libMiletusProvider.h
— To provide basic platform features required from libMiletus
<ul>
<li>Get a random number</li>
<li>Print debug messages</li>
<li>Show memory usage</li>
</ul>
</li>
<li>libMiletusComIf.h
— To provide communication capabilities (WiFi, BLE, Etc.)
<ul>
<li>Act as a server, handling requests</li>
<li>Send encapsulated messages to the client</li>
<li>Configure auto-discovery mechanism (mDNS, GAT, Etc.)</li>
</ul>
</li>
</ul>
</div> <!-- container -->
</div> <!-- jumbotron2 -->
<!--
<footer>
<p>© 2017 Edson Borin.</p>
</footer>
-->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="./bootstrap-3.3.7/assets/js/vendor/jquery.min.js"><\/script>')</script>
<script src="./bootstrap-3.3.7/dist/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="./bootstrap-3.3.7/docs/assets/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>