When trying to generate Doxygen documentation i get a lot of the warnings
Found unknown command `\asf_license_start'
Because i am using Atmel Software Framework (ASF) in my project. Hence a lot of my files has the licensing code as shown below. This code includes the command \asf_license_start and \asf_license_stop which are commands not known to Doxygen.
I have tried to look for external packages, but failed to find anything. I installed the Doxygen Integrator in Atmel Studios and changed the Doxygen Path to the location of my Doxygen installation.
Does anyone know what the \asf_license_start command should do in the documentation.
I hope that someone out there will be able to help me fix this issue as it is poluting the warning feedback and makes it harder to find the more critical issues.
/**
* \file
*
* \brief CDC Application Main functions
*
* Copyright (c) 2011-2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. The name of Atmel may not be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* 4. This software may only be redistributed and used in connection with an
* Atmel microcontroller product.
*
* THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
* EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* \asf_license_stop
*
*/
/*
* Support and FAQ: visit Atmel Support
*/
Related
i want to use this data type for notifying hd_digital_signal_exist and level of information to be imported
The question is in the description of this signalstrength - " Despite the name, this is not a signal strength.The purpose of this field is primarily informative." what does this mean?
/**
* Signal quality measured in 0% to 100% range.
*
* Despite the name, this is not a signal strength.
* The purpose of this field is primarily informative.
*/
uint32_t signalStrength;
My BMP280 attached to my RPi0W is reporting a consistent 133.90 degrees Celcius (should be around 25 degrees....) Similarly is reporting over 5 million Pascals pressure (should be around 100,000.)
Temp = 133.90 *C Pressure = 5611578.00 Pa Altitude = -50829.45 m
Sealevel Pressure = 5611578.00 Pa
I'm using the Adafruit Python test program (only 6 lines of code....no error indication) Only change I made was to reference I2C address of 0x76 instead of the default 0x77, since I'm not using the Adafruit brand BMP280.
#!/usr/bin/python
# Copyright (c) 2014 Adafruit Industries
# Author: Tony DiCola
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
# Can enable debug output by uncommenting:
#import logging
#logging.basicConfig(level=logging.DEBUG)
import Adafruit_BMP.BMP085 as BMP085
# Default constructor will pick a default I2C bus.
#
# For the Raspberry Pi this means you should hook up to the only exposed I2C bus
# from the main GPIO header and the library will figure out the bus number based
# on the Pi's revision.
#
# For the Beaglebone Black the library will assume bus 1 by default, which is
# exposed with SCL = P9_19 and SDA = P9_20.
sensor = BMP085.BMP085(address=0x76)
# Optionally you can override the bus number:
#sensor = BMP085.BMP085(busnum=2)
# You can also optionally change the BMP085 mode to one of BMP085_ULTRALOWPOWER,
# BMP085_STANDARD, BMP085_HIGHRES, or BMP085_ULTRAHIGHRES. See the BMP085
# datasheet for more details on the meanings of each mode (accuracy and power
# consumption are primarily the differences). The default mode is STANDARD.
#sensor = BMP085.BMP085(mode=BMP085.BMP085_ULTRAHIGHRES)
print(sensor.read_temperature())
print('Temp = {0:0.2f} *C'.format(sensor.read_temperature()))
print('Pressure = {0:0.2f} Pa'.format(sensor.read_pressure()))
print('Altitude = {0:0.2f} m'.format(sensor.read_altitude()))
print('Sealevel Pressure = {0:0.2f} Pa'.format(sensor.read_sealevel_pressure()))
The Adafruit detector does detect I2C address 0x76 properly.
DHT11 attached to same board is reporting roughly accurate temp of 84 degrees F (it was sitting in the exhaust stream from my laptop...lol)
What should I check for?
Brand of device is "gybmep". After some additional searching, I find I may have been using the wrong Adafruit library. I found another approach at
"USING THE BMP280 TEMP/PRESS SENSOR ON THE RASPBERRY PI
"
Seems I should have been using the Adafruit BME280 libraries. From that library example code, I got reasonable results.
What is browser.ignoreSynchronization?
/**
* If true, Protractor will not attempt to synchronize with the page before
* performing actions. This can be harmful because Protractor will not wait
* until $timeouts and $http calls have been processed, which can cause
* tests to become flaky. This should be used only when necessary, such as
* when a page continuously polls an API using $timeout.
*
* #type {boolean}
*/
&
waitForAngularEnabled
Both looks same. Is there any specific thing that can achieve by one and not by other?
They are the exact same, if you look at the source code ignoreSynchronization actually calls waitForAngularEnabled. The only thing to note is, ignoreSynchronization is being deprecated and eventually will no longer be available. They are switching to waitForAngularEnabled as the main property.
As far as what they do, that has been answered here in good detail.
I want to setup WiFi direct on my target.
Output of iw list
Supported interface modes:
* IBSS
* managed
* AP
Band 1:
Band 2:
software interface modes (can always be added):
valid interface combinations:
* #{ IBSS, managed, AP, P2P-client, P2P-GO } <= 4,
total <= 4, #channels <= 2, STA/AP BI must match
Looking at the above output I have following doubts:
How can I confirm whether my device supports WiFi direct feature or not.
What are software interface modes (can they be configured to WiFi Direct)
I tried the steps mentioned in particular link
http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_NLCP_WiFi_Direct_Configuration_Scripts#P2P_usecases
But when I run p2p_find under wpa_cli terminal it every time it returns FAIL
Please guide where I am going wrong and how can I setup and configure WiFi direct in my target.
Thanks in advance.
Wi-Fi Direct feature was disabled in the driver installed, so I was not able to configure my device for Wi-Fi direct.
So to answer my questions, this is the output of iw list after enabling the Wi-Fi direct bit in driver module.
Supported interface modes:
* IBSS
* managed
* AP
* P2P client
* P2P Go
Band 1:
Band 2:
software interface modes (can always be added):
valid interface combinations:
* #{ IBSS, managed, AP, P2P-client, P2P-GO } <= 4,
total <= 4, #channels <= 2, STA/AP BI must match
What are software interface modes (can they be configured to WiFi Direct)?
Software interface modes suggests the different interface modes supported by the driver but all may not be enabled at present.
All the enabled interfaces are listed under Supported interface modes:
Maybe someone had this problem.
"Send(AT)"
OK
"Send(AT+NAME?)"
+NAME=?
OK
"Send(AT+NAME1234)"
+NAME=1234
OK
"Send(AT+NAME?)"
+NAME=?
OK
Cant get this BLE HM-10 to remember name.
I was using FTDI and ch340, arduino monitor and realterm
Update!
After reset to defaults it started working Now i now its a genuine HM-10 and i have CC41-A
Command Description *
---------------------------------------------------------------- *
AT Check if the command terminal work normally *
AT+RESET Software reboot *
AT+VERSION Get firmware, bluetooth, HCI and LMP version *
AT+HELP List all the commands *
AT+NAME Get/Set local device name *
AT+PIN Get/Set pin code for pairing *
AT+PASS Get/Set pin code for pairing *
AT+BAUD Get/Set baud rate *
AT+LADDR Get local bluetooth address *
AT+ADDR Get local bluetooth address *
AT+DEFAULT Restore factory default *
AT+RENEW Restore factory default *
AT+STATE Get current state *
AT+PWRM Get/Set power on mode(low power) *
AT+POWE Get/Set RF transmit power *
AT+SLEEP Sleep mode *
AT+ROLE Get/Set current role. *
AT+PARI Get/Set UART parity bit. *
AT+STOP Get/Set UART stop bit. *
AT+START System start working. *
AT+IMME System wait for command when power on. *
AT+IBEA Switch iBeacon mode. *
AT+IBE0 Set iBeacon UUID 0. *
AT+IBE1 Set iBeacon UUID 1. *
AT+IBE2 Set iBeacon UUID 2. *
AT+IBE3 Set iBeacon UUID 3. *
AT+MARJ Set iBeacon MARJ . *
AT+MINO Set iBeacon MINO . *
AT+MEA Set iBeacon MEA . *
AT+NOTI Notify connection event . *
AT+UUID Get/Set system SERVER_UUID . *
AT+CHAR Get/Set system CHAR_UUID . *
-----------------------------------------------------------------*
Note: (M) = The command support slave mode only. *
For more information, please visit http://www.bolutek.com *
Copyright#2013 www.bolutek.com. All rights reserved. *
+VERSION=Firmware V3.0.6,Bluetooth V4.0 LE
Type to get value (Same is with other commands):
AT+NAME
Type to set value:
AT+NAMEnewName
You can try equal sign for set a value
AT+NAME=newName
edit for code prefix
try a shorter name. I had the same problem.some version do not accept long name